1
這適用於靜態數據:XSLT節點集上靜態還是字符串數據
<xsl:variable name="ExtensionData3">
<images>
<image id="10842" width="2450" height="2200" default="1" />
<image id="10543" width="2450" height="2200" default="0" />
<image id="10544" width="2450" height="2200" default="0" />
</images>
</xsl:variable>
<xsl:value-of select="msxsl:node-set($ExtensionData3)/images/image[@default='1']/@id" />
我如何得到這個動態數據?:
<xsl:variable name="ExtensionData3">
<xsl:value-of select="XMLData" />
</xsl:variable>
<xsl:value-of select="msxsl:node-set($ExtensionData3)/images/image[@default='1']/@id" />