cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Neu" <peter....@gmx.net>
Subject HowTo: Further process document object retrieved from flow
Date Thu, 19 Jan 2006 08:36:36 GMT
Hello,

I think my last post was not precise enough. :o/ 
In my flow I do some form binding with an xml document. The result of the
form I save to an object of this type:
 
javax.xml.parsers.DocumentBuilderFactory.newInstance().newDocumentBuilder().
newDocument()

I put the document in the flow context

cocoon.sendPage("result-pipeline", document: doc "};

Now I want do process the xml like this:

<map:match pattern="result-pipepline">
       <map:generate type="file" src="{flow-attribute:doc}"/>
       
       <map:serialize type="xml"/>
     </map:match>

How do I have to adjust the statement to further process the retrieved
document? 

Cheers,
Pete



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


Mime
View raw message