W3cubDocs

/XSLT & XPath

xsl:processing-instruction

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

The <xsl:processing-instruction> element writes a processing instruction to the output document.

Syntax

<xsl:processing-instruction name=NAME> TEMPLATE </xsl:processing-instruction>

Required Attributes

name
Specifies the name of this processing instruction.

Optional Attributes

None.

Type

Instruction, appears within a template.

Defined

XSLT, section 7.3

Gecko support

Supported.

© 2005–2020 Mozilla and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XSLT/processing-instruction