RE: [xsl] Global variables/temporary tree problem

Subject: RE: [xsl] Global variables/temporary tree problem
From: TSchutzerWeissmann@xxxxxxxxxxxxxxxx
Date: Fri, 13 Sep 2002 16:49:39 +0100
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


Current Thread