Visit Mozilla.org

XSLT:element

From MDC

XSLT/XPath Reference: XSLT elements, EXSLT functions, XPath functions, XPath axes

Contents

The <xsl:element> element creates an element in the output document.

[edit] Syntax

<xsl:element name=NAME namespace=URI use-attribute-sets=LIST-OF-NAMES >
	TEMPLATE
</xsl:element>

[edit] Required Attributes

name
Specifies the desired name of the output element. The name must be a valid QName.

[edit] Optional Attributes

namespace
Specifies the namespace of the output element.
use-attribute-sets
Lists named attribute sets to be used in the output element. Names should be separated by whitespace characters.

[edit] Type

Instruction, appears within a template.

[edit] Defined

XSLT, section 7.1.2.

[edit] Gecko support

Supported.