On Friday 17 May 2002 16:34, Christian Haul wrote:
> On 17.May.2002 -- 02:31 PM, Christian Haul wrote:
> > On 17.May.2002 -- 12:23 PM, Torsten Curdt wrote:
> > I would nest if(hasResultSet) into the switch statement. We would want
> > to have multiple no-results / update-results blocks for each result,
> > wouldn't we??
>
> OK, did your way since the XSL is simpler ;-)

ok

> Anyway, I've put the code into HEAD - please check. I'm off
> 'till Wednesday so if I did break anything you'll have to live with it
> 'till then or fix it ;-)

will do - guess I already found somehting...

the switch() should not use the getResultCount because of this:

                       getResultCount   but position() of result
result                  1                 1
update-result           2                 -
result                  3                 2

we need the incrementing varibale as I proposed...
but that's not a major biggy to fix ;-)

cheers
--
Torsten

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to