An attribute domain must consist of one file, whose name consists of the module name plus Domain plus the xsd extension. For example: newAttDomain.xsd for an attribute named "new". The file must have a single attribute group definition that contains the definition of the attribute itself, where the attribute group is named attnameAtt-d-attribute.
<xs:attributeGroup name="newAtt-d-attribute"> <xs:attribute name="new" type="xs:string"/> </xs:attributeGroup>
The attribute domain must be reflected in a shell document type XSD that integrates it. See Domain usage declaration (the @domains attribute) for details of attribute domain @domains values.
For example, if the attribute named "new" is a specialization of the @props attribute, the @domains value would be "a(props new)".