XSLT <xsl:processing-instruction> Element

Definition and Usage
The <xsl:processing-instruction> element writes a processing instruction to the output.
Syntax
<xsl:processing-instruction
name="process-name">
<!-- Content:template -->
</xsl:processing-instruction>
Attributes
Attribute | Value | Description |
---|---|---|
name | process-name | Required. Specifies the name of the processing instruction |
Example 1
This code:
<xsl:processing-instruction name="xml-stylesheet">
href="style.css" type="text/css"
</xsl:processing-instruction>
Creates this tag:
<?xml-stylesheet href="style.css" type="text/css"?>
