存储函数调用的结果是否比多次调用函数更有效?
例子 -
<xsl:variable name="time" select="current-dateTime()"/>
<myTime><xsl:value-of select="$time"/></myTime>
<yourTime><xsl:value-of select="$time"/></yourTime>
比
<myTime><xsl:value-of select="current-dateTime()"/></myTime>
<yourTime><xsl:value-of select="current-dateTime()"/></yourTime>