Often you will want to add one or more attributes to
an element you are generating with the <xsl:element> tag. The <xsl:attribute-set> element lets
you create a named set of attributes so you can add them
merely by referring to that name with the use-attribute-sets attribute
of <xsl:element>.
Use one or more <xsl:attribute> children as the
content of this element. Those attributes and their
values make up the attributes in the set.
Attributes of <xsl:attribute-set>
include:
name (required)Gives this attribute set a name.
use-attribute-setsAny attribute sets named in this value become part of the attribute set you are creating.