XSLTます。<xsl:処理命令>要素
定義と使用法
ます。<xsl:処理命令>要素を出力する処理命令ノードを生成した処理命令を、書くことができます。
文法
<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" type="text/css"
</xsl:processing-instruction>
href="style.css" type="text/css"
</xsl:processing-instruction>
ラベルを作成します。
<?xml-stylesheet href="style.css" type="text/css"?>
完全なXSLT要素のリファレンス・マニュアル