[
Lists Home |
Date Index |
Thread Index
]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sorry, I slipped up by replying in haste.
Here's what you want:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:simpleType name="vals">
<xs:list>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Value1"></xs:enumeration>
<xs:enumeration value="Value2"></xs:enumeration>
<xs:enumeration value="Value3"></xs:enumeration>
<xs:enumeration value="Value4"></xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:list>
</xs:simpleType>
<xs:element name="ElemName">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="vals">
<xs:attribute name="attr" type="xs:string"></xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:schema>
- --
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFDfjaMkjnJixAXWBoRAm0hAJ0aB7BEtQL9IkCbVaKg8ubXIEIswQCcCUD7
i9hKnkpaeMYXzQ3gBtsaZwE=
=5HYG
-----END PGP SIGNATURE-----
|