You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by h e n r i k <he...@xl-studio.se> on 2000/11/16 13:11:59 UTC

Nested XSP tags

Hi all.

Evaluating user question: Is it possible to have nested XSP taglib tags i.e...

<xsp:page language="java"
 xmlns:xsp="http://www.apache.org/1999/XSP/Core" 
 xmlns:req="http://www.apache.org/1999/XSP/Request" 
 xmlns:sql="http://apache.org/cocoon/SQL/v2" >

 <page>
  ...
  <sql:execute-query>
   ...
   <sql:query>
    SELECT name, description
    FROM packageTypes
    WHERE iso639 = '<req:get-parameter name="locale" as="string"/>'
   </sql:query>
  </sql:execute-query>
 </page>
<xsp:page>


... <req:get-parameter> inserting its result into <sql:query>.


/ h e n r i k