cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Geindre <>
Subject call script shell in a cocoon pipeline
Date Thu, 01 Feb 2007 10:51:09 GMT
Hi all !

I need to call a script shell with XML data as parameter in a cocoon 
I explain the process :

A post request with xml data is handled by a coocon pipe which transform 
these data, a script shell is called which transform data into image, 
xmlData dscribing images is return and handled by other transformer to 
present data in html.

        <map:match pattern="view-image-pipeline">
          <!-- genarator : transform post request into XML flow of data -->
                <map:generate type="jx" src="make-gwprequest.jx"/>
          <!-- multiple transformation of XML data -->
                <map:transform type="cinclude"/>
                <map:transform type="cinclude"/>
<!-- I need to call java method in order to call shell script with XML 
data as parameter -->
                <map:call function="generateImage">
<!-- how do i get back, in my javascript, the xmlData flow ? -->
                    <map:parameter name="xmlData" value="Value"/>

          <!-- the call of java return XML data -->
                  <!-- transformation of XML data -->

          <!-- end of pipe -->


S├ębastien Geindre
05 61 07 84 93

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message