XSLT <xsl:instrukcja-przetwarzania>
❮ Pełne odniesienie do elementu XSLT
Definicja i użycie
Element <xsl:processing-instruction> zapisuje instrukcję przetwarzania na wyjściu.
Składnia
<xsl:processing-instruction
name="process-name">
<!-- Content:template -->
</xsl:processing-instruction>
Atrybuty
Attribute | Value | Description |
---|---|---|
name | process-name | Required. Specifies the name of the processing instruction |
Przykład 1
Ten kod:
<xsl:processing-instruction name="xml-stylesheet">
href="style.css" type="text/css"
</xsl:processing-instruction>
Tworzy ten tag:
<?xml-stylesheet href="style.css" type="text/css"?>
❮ Pełne odniesienie do elementu XSLT