2015-11-24 80 views

回答

1

使用name()函數動態輸出bar屬性名稱。

<xsl:template match='foo/@bar'> 
    <xsl:attribute name='{name()}'>New value</xsl:attribute> 
</xsl:template> 
相關問題