Thanks very much. That worked.
I tried the sql namespace prefix before but I put it
in the wrong place. Previously I used sql:@nrofrows.
Thanks again.
--- Luca Morandini [EMAIL PROTECTED] wrote:
-Original Message-
From: Samuel Bruce [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 7:23 PM
To: cocoon
Subject: Accessing nrofrows from SQL Transformer
within Stylesheet
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?
try using the sql namespace as prefix to
attributes as well as element names), like in:
xsl:value-of select=sql:rowset/@sql:nrofrows/
Regards,
-
Luca Morandini
GIS Consultant
[EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-
-
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
__
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]