XSD validation on the sequence of attributes.
- by infant programmer
How to validate the sequence of attributes?
In my sample XML:
<root id1="1" id2="2" id3="3" id4="">
<node/>
</root>
the appearance of attributes of root must come in same order as written above, however the xsd what I have written accepts the attributes in any order, here is the XSD:
<xs:element name="root">
…