
XML Schemas • 191
As we can see, the syntax for grouping attributes is the use of the attributeGroup ref declaration. This
specifies that we want to create a group of attributes, with the specified name (in this case, empDetails).
We then specify the details of the attribute group (i.e., which attributes it groups) with the help of the
attributeGroup name declaration. This tag specifies the attributes that we want to group together.
KEY TERMS AND CONCEPTS
Anonymous type
Base-64 encoding
Complex element
Facet
Hexadecimal conversion
Mixed content
Restriction
Schema
Simple element
Valid document
XML data type
CH ...