ComplexTypeOnlyAttributeGroup Pattern

.//xs:complexType/xs:attributeGroup[../not(xs:choice or xs:sequence or xs:all or xs:anyAttribute 
         or xs:group or xs:simpleContent or xs:complexContent)]/(., ..,@ref)

This is an Advanced XML Schema Patterns for Databinding 1.0 pattern, exhibited by the following examples:

This document was produced by the W3C XML Schema Patterns for Databinding Working Group. Comments on this document may be sent to the public public-xsd-databinding-comments@w3.org mailing list (public archive).

Generated from patterns.xml $Date: 2009/03/19 21:47:05 $