ISSUE-59: attributeGroup pattern

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 UTC