XSLT <xsl:processing-instruction> elements
May 28, 2021
XSL T
Table of contents
XSLT
and lt;xsl: processing-instruction-gt;
elements
The XSLT-lt;xsl:processing-instruction-gt; element writes an execution instruction to the output.
Complete XSLT element reference manual
Definitions and usages
The element can write a processing instruction to the output, which is to generate a processing instruction node.
Grammar
<xsl:processing-instruction
name="process-name">
<!-- Content:template -->
</xsl:processing-instruction>
Property
Attributes
|
value
|
describe
|
name
|
process-name
|
Required.The name of the processing instruction is specified.
|
Instance 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"?>
Complete XSLT element reference manual