XSLT <xsl:processing-instruction>
❮完全なXSLT要素リファレンス
定義と使用法
<xsl:processing-instruction>要素は、処理命令を出力に書き込みます。
構文
<xsl:processing-instruction
name="process-name">
<!-- Content:template -->
</xsl:processing-instruction>
属性
Attribute | Value | Description |
---|---|---|
name | process-name | Required. Specifies the name of the processing instruction |
例1
このコード:
<xsl:processing-instruction name="xml-stylesheet">
href="style.css" type="text/css"
</xsl:processing-instruction>
このタグを作成します:
<?xml-stylesheet href="style.css" type="text/css"?>
❮完全なXSLT要素リファレンス