Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XSLT Element

XSLT xsl:attribute-set Element


XSLT Element Reference Manual Complete XSLT Element Reference Manual


Definition and Usage

xsl:attribute-set element creates a named attribute set. This attribute set can be applied as a whole to the output document.

**Note:** must be a xsl:stylesheet or xsl:transform child node.


Syntax

name="name" use-attribute-sets="name-list">

property

property 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

Create an attribute set that can be applied to any output element:

Arial

14px

red


XSLT Element Reference Manual Complete XSLT Element Reference Manual