2012-04-25 60 views

回答

0

這是那麼容易,因爲推杆:

<xsl:variable name="myvariable" /> 

在你的XSLT腳本的頂部(或底部,我想這並不重要)。

你可以,如果你想與

<xsl:variable name="myvariable" select="'somevalue'" /> 

設置初始值。看看http://www.w3schools.com/xsl/el_variable.asp瞭解更多信息。

+0

thnk你標記,但我需要把元素作爲價值。例如:嗨你好 2012-04-25 09:50:16