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