<xs:attributeGroup name="common-atts"> <xs:attribute name="ns" /> <xs:attribute name="datatypeLibrary" type="xs:anyURI" /> <xs:anyAttribute namespace="##other" processContents="skip" /> </xs:attributeGroup>