sorry, just noticed you were talking about sql transformer - i had assumed
esql logicsheet in xsp.  i need more coffee.

try
      <map:transform type="sql">
        ...
        <map:parameter name="show-nr-of-rows" value="true"/>
      </map:transform>

then, your results should start off with an attribute nrofrows on rowset,
ie:
<rowset nrofrows="2" xmlns="http://apache.org/cocoon/SQL/2.0";>

Geoff

-----Original Message-----
From: Boris Althaus [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 10:15 AM
To: [EMAIL PROTECTED]
Subject: Re: SQL-Transformer


mysql
----- Original Message -----
From: Geoff Howard
To: [EMAIL PROTECTED]
Sent: Friday, December 13, 2002 4:19 PM
Subject: RE: SQL-Transformer


There is a tag defined but it's not fully implemented, although it may be in
the very latest cvs. (it only worked for one particular database)  What
database are you using?

Geoff Howard
-----Original Message-----
From: Boris Althaus [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 9:45 AM
To: [EMAIL PROTECTED]
Subject: SQL-Transformer


Hallo Cocoon Users,

does the SQL-Transformer has a map-parameter like <map:parameter
name="show-nr-of-cols"/> or is there a way to retrieve the number of cols in
the resultset?

Regards
Boris


---------------------------------------------------------------------
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