cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: XSP problem.
Date Tue, 09 Jan 2001 18:19:23 GMT
On Tue, 9 Jan 2001, Sergio Carvalho wrote:

> wow! I'd never think of solving it that way. You are in fact
> generating code for each and every one of the books, that says
>   if (somecondition1) outputBook1()
>   .
>   .
>   .
>   if (somecondition2) outputBook2()
>
> Why don't you, in booklist.filter.xsl, output an XML file, using the
> same format as the source XML, including only the 'valid' books?
> (valid according to your condition). Then, process this to the final
> format using an output XSLT.
>
> I don't even think you need XSP. Just two XSLT transforms.

or alternately, don't do xslt-xsp-xslt. never do an xslt process before an
xsp process - you're setting yourself up for big troubles. instead, use
xsp's logicsheet/taglib features.

- donald


Mime
View raw message