?
本文檔使用 php中文網(wǎng)手冊 發(fā)布
<xsl:processing-instruction> 元素可向輸出寫一條處理指令,即生成處理指令節(jié)點。
<xsl:processing-instruction name="process-name"> <!-- Content:template --> </xsl:processing-instruction>
屬性 | 值 | 描述 |
---|---|---|
name | process-name | 必需。規(guī)定處理指令的名稱。 |
代碼:
<xsl:processing-instruction name="xml-stylesheet"> href="style.css" type="text/css" </xsl:processing-instruction>
創(chuàng)建標簽:
<?xml-stylesheet href="style.css" type="text/css"?>