cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Culshaw" <t...@cultech.com.au>
Subject Re: Can't instantiate multiple nodesets on same stylesheet?
Date Fri, 12 Sep 2003 00:18:21 GMT
You might be 'out of context' on the second nodeset, ie. it might be correct
in the result being null..

Can you post your stylesheet (or an example) to this list?

----- Original Message ----- 
From: <dbenoff@covad.net>
To: <users@cocoon.apache.org>
Sent: Wednesday, September 10, 2003 5:20 PM
Subject: Can't instantiate multiple nodesets on same stylesheet?


> Hi all,
>
> Not sure whether this is as-designed or not (the archives had nothing),
but
> I'm seeing some strange behavior when using more than one
> xalan:nodeset($myvariable) statement in the same page.  My stylesheet
> declares two RTF's as variables, and I convert each one to nodesets for
> display.  The problem is that only the first nodeset gets rendered
> properly.  The second one is always null.  I can switch them around and
the
> first one always is fine, and the second is always null (using count()
also
> shows zero nodes).  Strange... Any tips would be appreciated. Is there
some
> special trick to using multiple nodesets?
>
> My details:
> Tomcat 4.1.24 LE
> Cocoon 2.1m2
> JDK 1.4.1
> Rendering with default XSLT transformer/Xalan (tried several versions)
>
> Thanks,
> David Benoff
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message