How to verify XML attributes using XSD enumeration?

Posted by Sorin Sbarnea on Stack Overflow See other posts from Stack Overflow or by Sorin Sbarnea
Published on 2010-06-14T13:19:56Z Indexed on 2010/06/14 13:22 UTC
Read the original article Hit count: 373

Filed under:
|
|

I have the following XML sequence

<property name="a"  value="x" />
<property name="b"  value="xx" />

I want to limit "a" to a list of values, like [ x, y, z] and "b" to another list like [xx, yy, zz]

Is it possible to do this using XSD, and if it is how?

© Stack Overflow or respective owner

Related posts about Xml

Related posts about xsd