W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2004

XSD - Possibility of "enumeration" with defined order of elements

From: Jonny Pony <jonnypony666@hotmail.com>
Date: Tue, 15 Jun 2004 16:16:46 +0000
To: xmlschema-dev@w3.org
Message-ID: <BAY12-F39HZgzDgtZKp00031a95@hotmail.com>


my xsd:

<xs:complexType name="ColumnHeader">
    <xs:element name="Column" type="Column"/>

<xs:simpleType name="Column">
  <xs:restriction base="xs:string">
    <xs:enumeration value="Spaltenname"/>
    <xs:enumeration value="Datentyp"/>
    <xs:enumeration value="Column Size"/>
    <xs:enumeration value="Dezimalstellen"/>

I want the enumerated elements in a defined order, like in <xs:sequence>.

Wanted (only valid) xml-output. The <column>-elements must appear in this 
    <Column>Column Size</Column>

Is there a possiblility to do that?


Die ultimative Fan-Seite für den MSN Messenger http://www.ilovemessenger.de 
Emoticons und Hintergründe kostenlos downloaden!
Received on Tuesday, 15 June 2004 12:17:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:22 UTC