XSLT <xsl:attribute-set> Element
Definition and Usage
The <xsl:attribute-set> element creates a named set of attributes. This attribute set can be applied as a whole to the output document.
Note: Must be a child of <xsl:stylesheet> or <xsl:transform>.
Syntax
Attributes
| Attribute | Value | Description |
|---|---|---|
| name | name | Required. Specifies the name of the attribute set. |
| use-attribute-sets | name-list | Optional. A list of other attribute sets used within this attribute set, separated by spaces. |
Example 1
Creating an attribute set that can be applied to any output element: