Re: XML Schemas and the Enumeration Facet

I have a question about enumerations, if I have the following schema
definition, can I have an empty string value for the attribute CarType, like
CarType="" ?

<xsd:schema targetNamespace="http://www.abc.com"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
	<xsd:attribute name="CarType">
		<xsd:simpleType>
			<xsd:restriction base="xsd:NMTOKEN">
				<xsd:enumeration value="Buick" />
				<xsd:enumeration value="Chevy" />
				<xsd:enumeration value="Ford" />
				<xsd:enumeration value="Mercedes" />
			</xsd:restriction>
		</xsd:simpleType>
	</xsd:attribute>
</xsd:schema>
				
Thanks,

Lee Brown
( STAR, iReorder, DAA )

  <<Brown, Lee.vcf>>

Received on Friday, 16 August 2002 20:30:08 UTC