Oleg Konovalov wrote:

It seems that correct form to pick up a rowset in XSL is:
<xsl:variable name='custdata'
select="/page/content/sql:[EMAIL PROTECTED]:name='query1']"/>

The query returns 1 row.
But for whatever reason I can't get to the row, to show the
values on the screen:
<xsl:for-each select='$custdata'>  <-- expect to pass
$custdata/row
 <xsl:call-template name='row1'>
   <xsl:with-param name='therow' select='.'/>x
 </xsl:call-template>                     
</xsl:for-each>

<xsl:template name="row1">
 <xsl:param name='therow'/>
 <td>data=<xsl:value-of select='$therow'/></td> <--- can see
the whole row           
 <td align="left" valign="middle"><xsl:value-of
select='$therow/col1'/></td>   <--- can't see
</tr>
</xsl:template>

What am I doing wrong ?
(probably some stupid XSL bug :-(  )
Try <xsl:value-of select='$therow/sql:col1'/> instead, since col1 is in the same namespace sql:rowset etc.

Askild


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