XSLT <xsl:processing-instruction>要素
完全なXSLT要素リファレンス
定義と使い方
<xsl:processing-instruction> 要素は出力に処理命令を書き込むことができ、つまり処理命令ノードを生成します。
構文
<xsl:processing-instruction
name="process-name">
<!-- Content:template -->
</xsl:processing-instruction>
name="process-name">
<!-- Content:template -->
</xsl:processing-instruction>
属性
| 属性 | 值 | 説明 |
|---|---|---|
| name | process-name | 必須。処理命令の名前を指定します。 |
例 1
コード:
<xsl:processing-instruction name="xml-stylesheet">
href="style.css.html" type="text/css"
</xsl:processing-instruction>
href="style.css.html" type="text/css"
</xsl:processing-instruction>
タグを作成:
<?xml-stylesheet href="style.css.html" type="text/css"?>
完全なXSLT要素リファレンス その他の拡張機能