XSLT <xsl:processing-instruction>
❮ Kompletní reference prvků XSLT
Definice a použití
Element <xsl:processing-instruction> zapíše na výstup instrukci zpracování.
Syntax
<xsl:processing-instruction
name="process-name">
<!-- Content:template -->
</xsl:processing-instruction>
Atributy
Attribute | Value | Description |
---|---|---|
name | process-name | Required. Specifies the name of the processing instruction |
Příklad 1
Tento kód:
<xsl:processing-instruction name="xml-stylesheet">
href="style.css" type="text/css"
</xsl:processing-instruction>
Vytvoří tuto značku:
<?xml-stylesheet href="style.css" type="text/css"?>
❮ Kompletní reference prvků XSLT