File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help needed in defining a certain constraint in schema.