Here is the xml:
xml
So, how to write an xsd to ensure that the attribute to
xsd
to
Schema, by definition will just define the schema of the document, not validate the conditional data. You have to do that in your application.