[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Building RTF variable

Subject: Re: Building RTF variable
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Fri, 25 Oct 2002 11:03:01 +0000
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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.