cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Geindre <sebastien.gein...@meteo.fr>
Subject Re: How to generate xml from request witrh jx generator ??
Date Wed, 11 Apr 2007 14:42:04 GMT
OK i found !
I use a cocoon based on eXist deployement....
It works when i use a stanard verison 2.1.10

I dont know why.
if you have an idea...
>>
>> it is : ${cocoon.parameters.myparam}
>>
>> Furthermore, if you want an xml presentation of the entire request, 
>> there is the request generator
>>
>> Ard
>>
>>   
> I did try this, but unsuccessful.....
>
> I could use the request generator with an xsl transformation to 
> produce XML flow, but it 's a bit complicated whereas i can use the jx 
> transformer. But it does not work....
>
> For this :
> <GWPRequest xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
>     <myparam>${cocoon.parameters["myparam"]}</myparam>
>      <myparam2>${cocoon.parameters.myparam}</myparam2>    </GWPRequest>
>
>
> Result is still :
>
> <GWPRequest>
> <myparam/>
> <myparam2/>
> </GWPRequest>
>
>
> Sitemap :
>            <map:match pattern="*">
>                <map:generate type="jx" 
> src="make-gwprequest-from-param.jx">
>                    <map:parameter name="myparam" value="{1}"/>
>                </map:generate>
>                <map:serialize type="xml"/>
>            </map:match>*
> *
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


-- 
S├ębastien Geindre
DPREVI/AERO/DEV
sebastien.geindre@meteo.fr
05 61 07 84 93




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message