Hello,

I can't seem to access the nrofrows value returned
from the SQL Transformer.

The resulting XML after the SQL Transformer executes
in my pipeline is as follows:

<records>
  <rowset xmlns="http://apache.org/cocoon/SQL/2.0";
nrofrows="4">
    <row>
       ...
    </row>
    <row>
       ...
    </row>
    <row>
       ...
    </row>
    <row>
       ...
    </row>
  </rowset>
</records>

My stylesheet snippet is:
<xsl:template match="records">
  <NumberOfRows>
    <xsl:value-of select="sql:rowset/@nrofrows"/>
  </NumberOfRows>
</xsl:template>

I have no problem accessing the sql rows, but I cannot
access the nrofrows attribute. What am I doing wrong?

I'm using a cocoon2 dev. snapshot from October, 2002
and TC 4.1.12.





__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

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

Reply via email to