wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes Help needed in defining a certain constraint in schema. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Help needed in defining a certain constraint in schema." Watch "Help needed in defining a certain constraint in schema." New topic
Author

Help needed in defining a certain constraint in schema.

Devesh H Rao
Ranch Hand

Joined: Feb 09, 2002
Posts: 687

Hi ppl,
I am defining a XML which is to be used for processing rules. The spec for the same contains a function tag having the following structure.

The functionality i am looking for is can i define the tags that are valid inside a function depending on the type of function.
ie. if for example if the type of function is "OR" the function tag can contain X no of child tags and if say the type of function is "isSelected" the function tag can contain only one child tag so on and so forth.
any help will be appreciated.
 
jQuery in Action, 2nd edition
 
subject: Help needed in defining a certain constraint in schema.