Hi Everybody
I'new to cocoon but I've got a difficult question, and I would be really thankful
if somebody can help me out.
what I'm trying to do is:
1. submit a form which tells cocoon which files to include in final document
2. transform this files into another document (xml->pdf)
3. write to a file (SourceWritingTransformer)
4. display a page like "task complete"
how can I configure the sitemap?
this is an example of my sitemap, I'm not sure, can I use two transformers?
<map:pipeline>
<map:match pattern="file1.pdf">
<map:generate src="file1.xml"/>
<!--here should the document be transformed to pdf andafter that given
to the sourcewriter-->
<map:transform type="sourcewriter"/>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
sourcewriter
<map:transformer name="sourcewriter" logger="sitemap.transformer.filewriter"
src="org.apache.cocoon.transformation.SourceWritingTransformer">
<map:parameter name="serializer" value="xml"/>
</map:transformer>
everytime i use this, I'm getting the documt in the browser window and not on disk
can anybody help me with this? I'using cocoon 2.1.2
thanks!
ciao
dominik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]