+ -
当前位置:首页 → 问答吧 → $ 符号的作用

$ 符号的作用

时间:2003-07-28

来源:互联网

请问一下 代码中 $ 符号是干什么用的

<xsl:if test="position() > $page*$num_per_page and $page*$num_per_page+$num_per_page >= position()">

作者: onlygood   发布时间: 2003-07-28

定义变量
<xsl:variable name="temp" value="1" />
使用变量
<xsl:value-of select="$temp" />

作者: snakevil   发布时间: 2003-07-31