XSLT <xsl:processing-instruction>
❮ Vollständige XSLT-Elementreferenz
Definition und Verwendung
Das Element <xsl:processing-instruction> schreibt eine Verarbeitungsanweisung in die Ausgabe.
Syntax
<xsl:processing-instruction
name="process-name">
<!-- Content:template -->
</xsl:processing-instruction>
Attribute
Attribute | Value | Description |
---|---|---|
name | process-name | Required. Specifies the name of the processing instruction |
Beispiel 1
Dieser Code:
<xsl:processing-instruction name="xml-stylesheet">
href="style.css" type="text/css"
</xsl:processing-instruction>
Erstellt dieses Tag:
<?xml-stylesheet href="style.css" type="text/css"?>
❮ Vollständige XSLT-Elementreferenz