cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasha Joachimsthal" <j.joachimst...@hippo.nl>
Subject RE: Accessing request-param in XML
Date Fri, 23 Jun 2006 14:17:23 GMT
 

-----Original Message-----
From: kochch@gmail.com [mailto:kochch@gmail.com]On Behalf Of 321los@gmail.com
Sent: vrijdag 23 juni 2006 16:07
To: users@cocoon.apache.org
Subject: Accessing request-param in XML


Hello community,

my sitemap:
<map:match pattern="zipped.zip">
         <map:generate src="zip.xml"/>
            <map:parameter name="pk" value="{request-param:pk}"/>   
         <map:serialize type="zip"/>
 </map:match>

[Jasha Joachimsthal] 
 
Either
 
<map:match pattern="zipped.zip">
         <map:generate src="zip.xml" type="jx">
            <map:parameter name="pk" value="{request-param:pk}"/>   
        </map:generate>
         <map:serialize type="zip"/>
 </map:match>
 
or do 
<map:match pattern="zipped.zip">
         <map:generate src="zip.xml"/>
        <map:transform src="insertparam.xsl>
            <map:parameter name="pk" value="{request-param:pk}"/>   
        </map:transform>
         <map:serialize type="zip"/>
 </map:match>



Mime
View raw message