cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tgarijo <tgar...@clickonline.es>
Subject Re: xml file
Date Mon, 15 Feb 2010 17:57:45 GMT

Hi Shahriar...
This work very well, thanks

It's posible  to add  <map:generate type="request"/> before or after 
<map:generate type="stream">.

The idea its that the file xml   into the request. But i dont like how
parameter.

Thanks


Shahriar Aghajani-2 wrote:
> 
> Hi,
> 
> Try something like this:
> 
> <map:match pattern="url-form-sends-to.xml">
>    <map:generate type="stream">
>       <map:parameter name="form-name" value="myFormFieldName"/>
>    </map:generate>
>    <map:transform src="my-xslt.xsl"/>
>    <map:serialize type="xml"/>
> </map:match>
> 
> I think you're looking for the "stream" generator.
> 
> Cheers,
> Shahriar.
> 
> 
> tgarijo wrote:
>> Hello I am new to cocoon.
>>
>> I would like to know how to process this.
>>
>> I get an xml document by post, I want to process in a pineline.
>>
>> transform with XSL and  with an answer to another xml.
>>
>> I would be worth the same <match: pattern>  for multiple documents than 
>> sending  to my url?
>>
>> I could give some examples.
>>
>> Greetings
>>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/xml-file-tp27596811p27597529.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


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


Mime
View raw message