Vadim,

Thanks for the ideas and sorry for not mentioning I was using Cocoon 1.8.2.

I tried removing the xslt transformation from the equation and this does
indeed produce the desired output.  So at least I know that's working
properly.  I'll keep digging and I'll be sure to let you know when I've
solved the problem.

Thanks again for the help,

-Matt

-----Original Message-----
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 5:14 PM
To: [EMAIL PROTECTED]
Subject: Re: displaying values in a browser from <xsp:logic>


Hey Matt,

I see that you have:
<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="xsl/report.xsl" type="text/xsl"?>

in your xml file. This makes me think that you use Cocoon 1. You should
be stating this from the very beginning - I was assuming that you have
Cocoon 2.


Regarding your problem... This bit seems Ok to me:
  <prevresult>
    <xsp:expr>prevurl</xsp:expr>
  </prevresult>
  <nextresult>
    <xsp:expr>nexturl</xsp:expr>
  </nextresult>
  </page>
</xsp:page>

I can recommend you to check generated Java code and see what happens
there, do you get desired result or not. You can try also run you XSP
page without XSLT transform first, just to check that it procuces
desired output:

<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<!-- xslt process removed  -->

<xsp:page
  xmlns:xsp="http://www.apache.org/1999/XSP/Core";
  xmlns:xsp-request="http://apache.org/xsp/request/2.0";
  xmlns:esql="http://apache.org/cocoon/SQL/v2";>
....


I won't be able to help more, I don't remember Cocoon 1 much.

Vadim



Matt MacDougall wrote:

>Here's the full xsl page (minus a little html to save space).  I've
attached
>the full report.xml file as well in case it is needed ... thanks again for
>the help, this stuff was dumped in my lap and I'm obviously a newbie ;-)
>
>-Matt
>
>
... attached files go here ...



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

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


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

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

Reply via email to