- From: Rich Adili <Rich.Adili@xata.com>
- Date: Mon, 21 May 2007 11:31:18 -0500
- To: <xmlschema-dev@w3.org>
Received on Monday, 21 May 2007 16:31:31 UTC
Hi, Is there a practical difference between a reference to a global attribute and the use of a simpleType? Only thing I can see is that the ref forces the name of the attribute. <xs:element name="myroot"> <xs:complexType> <xs:attribute name="fooble" type="foober"/> <xs:attribute ref="fibber"/> </xs:complexType> </xs:element> <xs:attribute name="fibber"> <xs:simpleType> <xs:restriction base="xs:string"/> </xs:simpleType> </xs:attribute> <xs:simpleType name="foober"> <xs:restriction base="xs:string"/> </xs:simpleType> Rich Adili
Received on Monday, 21 May 2007 16:31:31 UTC