This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Global variables/temporary tree problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]