Hi all,
I try to xml from request witrh jx generator.
here is my sitemap, verysimple :
...
<map:pipeline>
<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>
</map:pipeline>
Here the make-gwprequest-from-param.jx file , very simple too :
<?xml version="1.0" encoding="UTF-8"?>
<GWPRequest xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
<cocoon>${cocoon.parameters}</cocoon>
<myparam>${cocoon.parameters["myparam"]}</myparam>
</GWPRequest>
Here are the results, very weird...
Something i miss...????
http://localhost:8080/cocoon/foo
<GWPRequest>
<cocoon>Parameters[r/w]:{myparam=foo}</cocoon>
<aaa/>
</GWPRequest>
Regards,
--
Sébastien Geindre
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]