YouTip LogoYouTip

El Attributegroup

# XML Schema attributeGroup Element * * Complete XML Schema Reference Manual](#) * * * ## Definition and Usage The attributeGroup element is used to group attribute declarations so that these declarations can be combined in a composite form into complex types. ### Element Information * **Parent Elements:** attributeGroup, complexType, schema, restriction (both simpleContent and complexContent), extension (both simpleContent and complexContent) ### Syntax (annotation?),((attribute|attributeGroup)*,anyAttribute?)) (The ? symbol indicates that the element may appear zero or one time, and the * symbol indicates that the element may appear zero or more times.) | Attribute | Description | | --- | --- | | id | Optional. Specifies the unique ID of the element. | | name | Optional. Specifies the name of the attribute group. The name and ref attributes cannot both appear. | | ref | Optional. Specifies a reference to the specified attribute group. The name and ref attributes cannot both appear. | | any attributes | Optional. Specifies any other attributes with non-schema namespaces. | ### Example 1
← El ChoiceEl Any β†’