Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

restrict the value choice of a attribut in xml schema  RSS feed

 
zb cong
Ranch Hand
Posts: 416
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!