W3C home > Mailing lists > Public > public-xsd-databinding@w3.org > May 2006

ISSUE-59: attributeGroup pattern

From: Databinding Issue Tracker <dean+cgi@w3.org>
Date: Tue, 23 May 2006 12:19:35 +0000 (GMT)
To: public-xsd-databinding@w3.org
Message-Id: <20060523121935.DCF1766363@dolph.w3.org>


ISSUE-59: attributeGroup pattern

http://www.w3.org/2005/06/tracker/databinding/issues/59

Raised by: George Cowe
On product: Advanced

We use attributeGroups in our schemas:

<xs:attributeGroup name="myAttributeGroup">
   <xs:attribute name="id" type="xs:ID"/>
   <xs:attribute name="name" type="xs:string"/>
</xs:attributeGroup>


used as follows:
<xs:simpleContent>
  <xs:extension base="..">
    <xs:attributeGroup ref="tns:myAttributeGroup/>
  </xs:extension>
</xs:simpleContent>

and in place of an attribute in a collection:
<xs:complexType>
  <xs:sequence>
     ...
  </xs:sequence>
  <xs:attrinute name="foo" type="xs:string"/>
  <xs:attributeGroup ref="tns:myAttributeGroup/>
</xs:complexType>
Received on Tuesday, 23 May 2006 12:19:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 18:20:37 GMT