This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
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.
 
 
subject: Help needed in defining a certain constraint in schema.