XML does not provide any mechanism for page formatting. Its purpose is to wrap structured data. For the structure, white space is irrelevant as long as you're not trying to make the XML itself readable. As far as the data, it may contain any information at all. White space may have a...
I'm trying to use a list of enums, but limit the values to only one occurrence of each value. Let's say I have a enum that represents books in a library.
<xsd:simpleType name="BOOK_TYPE">
<xsd:annotation>
<xsd:documentation>Book Type</xsd:documentation>
</xsd:annotation>...
tsuji, thanks for the reply.
Looks like this would allow a list of OFF_SEVERITY_TYPE, but would it restrict the list to have only one instance of each value of OFF_SEVERITY_TYPE?
Thanks again, Dan
I have inherited a data type that's a simple token enumeration:
<xsd:simpleType name="OFF_SEVERITY_TYPE">
<xsd:annotation>
<xsd:documentation>Offense Severity</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:token">
<xsd:enumeration value="F">...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.