I am accustomed to using xsl:ID to describe items that must be unique within the whole file.
However, what if I want several unique lists? That is,
<root>
<item Sequence="2" Name="A" />
<item Sequence="1" Name="C" />
<item Sequence="3" Name="B" />
</root>
I want the above to validate against the XML Schema you suggest, but if I had two Name="A" attributes, or two Sequence="3" attributes, I don't want it to validate.
However, what if I want several unique lists? That is,
<root>
<item Sequence="2" Name="A" />
<item Sequence="1" Name="C" />
<item Sequence="3" Name="B" />
</root>
I want the above to validate against the XML Schema you suggest, but if I had two Name="A" attributes, or two Sequence="3" attributes, I don't want it to validate.