[
Lists Home |
Date Index |
Thread Index
]
- From: "Arnold, Curt" <Curt.Arnold@hyprotech.com>
- To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>, "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
- Date: Mon, 15 Nov 1999 12:01:12 -0700
Oops, pressed wrong key which prematurely send last message. To follow
Examples of use:
Swedish-only boolean
<datatype name="swedishOnlyBoolean">
<basetype name="boolean"/>
<enumeration>
<literal value="true">sant</literal>
<literal value="false">falskt</literal>
</enumeration>
</datatype>
--------------
Swedish and default boolean. Accepts true and false in additional to
explicitly enumerated values since enumeration is open and true and false
are legal values for base type.
<datatype name="swedishSupportingBoolean">
<basetype name="boolean"/>
<enumeration model="open">
<literal value="true">sant</literal>
<literal value="false">falskt</literal>
</enumeration>
</datatype>
--------------------------
Swedish, default, and 0/1 boolean
<datatype name="multiBoolean">
<basetype name="boolean"/>
<enumeration model="open">
<literal value="true">sant</literal>
<literal value="false">falskt</literal>
<literal value="true">1</literal>
<literal value="false">0</literal>
</enumeration>
</datatype>
-----------------------
Numeric data type with symbolic names
<datatype name="symReal">
<basetype name="real"/>
<enumeration model="open">
<literal value="3.1415926">pi</literal>
<literal value="2.718">e</literal>
</enumeration>
</datatype>
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|