XSLT <xsl: processing-instruction> -Element
Definition und Verwendung
<Xsl: processing-instruction> Element zur Ausgabe einer Verarbeitungsanweisung schreiben kann, die Verarbeitungsanweisungsknoten erzeugt.
Grammatik
<xsl:processing-instruction
name="process-name">
<!-- Content:template -->
</xsl:processing-instruction>
name="process-name">
<!-- Content:template -->
</xsl:processing-instruction>
Immobilien
属性 | 值 | 描述 |
---|---|---|
name | process-name | 必需。规定处理指令的名称。 |
Beispiel 1
Code:
<xsl:processing-instruction name="xml-stylesheet">
href="style.css" type="text/css"
</xsl:processing-instruction>
href="style.css" type="text/css"
</xsl:processing-instruction>
Erstellen Sie ein Label:
<?xml-stylesheet href="style.css" type="text/css"?>
Komplette XSLT - Element - Referenzhandbuch