At 12:48 PM 12/28/01 +0100, you wrote:
>I'm using cocoon2, and I've used sql queries, with the next query:
>  
><?xml version="1.0"?>
><page xmlns:sql="http://apache.org/cocoon/SQL/2.0";
>       xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>  <title></title>
>  <content>
>   <para></para>
>   <execute-query xmlns="http://apache.org/cocoon/SQL/2.0";> 
>    <query name="bioquimica">
>         select id,numero,url from bioquimica
>   </query>
>   </execute-query>
>  
>  </content>
></page>
>  
>But I don't know how can I get the attribute of the query. (it's called  "bioquimica")
><xsl:template match="sql:rowset">
><xsl:value-of select="???"/>
></xsl:template>
>  
>  
>thanks


<xsl:value-of select="query[@name='bioquimica'"/>


DR


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to