This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Global variables/temporary tree problem
- From: TSchutzerWeissmann at uk dot imshealth dot com
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 13 Sep 2002 16:49:39 +0100
- Subject: RE: [xsl] Global variables/temporary tree problem
- Reply-to: xsl-list at lists dot mulberrytech dot com
Richard,
> I'm having problems accessing a global variable that contains a result
> tree fragment (temporary tree?). If I load the variable by calling
> document()/path/path2 then I can use the variable as I
> expect.
>
RTF's aren't nodes in xslt 1, you'll need to use an extension function
to turn your one into a nodeset. Xalan has nodeset(), you just need
to declare the namespace. See
http://xml.apache.org/xalan-c/extensionslib.html#ex-nodeset
for an example.
pub calls...
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list