Thanks for the reply.

Well the compilation error is gone, but the results still do not appear.
Let me elaborate a bit more.

We have defined out own classes to be used in XALAN and registered as

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:xalan="http://xml.apache.org/xalan";
xmlns:lxslt="http://xml.apache.org/xslt";
xmlns:qbrowse="xalan://com.quark.qmp.ext.QMPBrowseFunctions"
extension-element-prefixes="http session prefs utils">

Now a variable is defined as 

<xsl:variable name="favList"><xsl:value-of
select="qbrowse:retriveFavCol($Server)"/></xsl:variable>

When we try to access it as

<xsl:value-of select="$favList"/>

It does not return any value.

Actually the same piece of code was working fine in Xalan v2.4 and this
approach is not working in XALAN v2.7 

We want to use this approach so that the value of the variable is set
only once and can be used at multiple locations in the XSL.

Regards
Puneet

-----Original Message-----
From: Joseph Kesselman [mailto:[EMAIL PROTECTED] 
Sent: 24 August, 2005 10:12 PM
To: [email protected]
Subject: Re: variable issue

Depending on how you're setting the variable, it may not be a node-set.
See
discussion of the EXSLT node-set function, which will convert it into
the
right form.

(The distinction between RTFs and node-sets will go away in XSLT 2.0.)

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk

Reply via email to