File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help needed in defining a certain constraint in schema.

 
Devesh H Rao
Ranch Hand
Posts: 687
Hibernate jQuery Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic