Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

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

Syntax

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

Required Attributes

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

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.

Type

Instruction, appears within a template.

Defined

XSLT, section 7.1.2.

Gecko support

Supported.

Document Tags and Contributors

 Contributors to this page: Sheppy, Jake Archibald, Fredchat, Mgjbot, Ptak82, Nickolay, CitizenK
 Last updated by: Sheppy,