I need to create an XSD file to validate the XML structure as usual.
After generating the XSD (with XMLSpy), I found one part of the file that is causing me problems. I have an enumeration like this:
<xs:enumeration value="1"/>
<xs:enumeration value="1011"/>
<xs:enumeration value="1032"/>
etc. The problem is that any given integer in this enumeration should be considered valid, and I cannot write enumeration tags from 1 to, say, 65635.
And I also do not know how many of these enumeration elements will be necessary, because the number of these enumeration tags in the XML file is not fixed!
How can I tell XSD that any integer value is fine, and that there are no minimum or maximum matches in the XML file for this listing?
Thanks in advance (and sorry for my English!)