Latest web development tutorials

XSLT <xsl: processing-instruction> element

XSLT Elements Reference Manual Complete XSLT Element Reference Manual

Definition and Usage

<Xsl: processing-instruction> element can write to output a processing instruction, which generated processing instruction node.


grammar

<xsl:processing-instruction
name="process-name">

<!-- Content:template -->

</xsl:processing-instruction>

Attributes

属性 描述
name process-name 必需。规定处理指令的名称。

Example 1

Code:

<xsl:processing-instruction name="xml-stylesheet">
href="style.css" type="text/css"
</xsl:processing-instruction>

Create a label:

<?xml-stylesheet href="style.css" type="text/css"?>


XSLT Elements Reference Manual Complete XSLT Element Reference Manual