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

restrict the value choice of a attribut in xml schema

 
zb cong
Ranch Hand
Posts: 416
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in the schema, i want to restrict the value of an attribute to a fixed group(somewhat like the <option> tag in html) so the value of the attribute in xml document must fall into this group. or not, the validation will fail. how can i do that?

Thanks
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic