[Home] [By Thread] [By Date] [Recent Entries]
Hello David
I don't know if I have misunderstood something, but your solution does not work for me, either. The syntax in the second variable is new to me, so I have just pasted your text into it: <xsl:variable name="Test"> <node>Number1</node> <node>Number2</node> <node>Number3</node> </xsl:variable> <!-- copied from solution applied from David Carlisle: -->
<xsl:variable name="test2"
select="document('')/xsl:stylesheet/xsl:variable[@name='Test']"/><!-- Now testting: --> Test: <xsl:value-of select="$Test"/><br/> Test: <xsl:copy-of select="$Test"/><br/> test2: <xsl:value-of select="$test2"/><br/> test2: <xsl:copy-of select="$test2"/><br/> ---- Giving the output (HTML): Test: Number1Number2Number3 Test: Number1Number2Number3 test2: test2: - It seems to me, that test2 is empty :-( Is this then because I misunderstood, am missing something or because of something else? I hope help is possible. Ragulf Pickaxe :-| _________________________________________________________________ Internet access plans that fit your lifestyle -- join MSN. http://resourcecenter.msn.com/access/plans/default.asp XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



