|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Building RTF variable
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








