I want to modify the flow example from the woody-block so that the document is not saved to disk but to the session. From there I want to get it via the readDOMsession transformer.
Any suggestions? Are my thoughts right or is there another way to do it? How can I put the XML-document into the session?
Original code from binding_example.js:
form.showForm("form2-display-pipeline");
form.save(document);
saveDocument(document, makeTargetURI(documentURI));
cocoon.sendPage("form2-success-pipeline");
I would like to use
saveDocumentAsDOMToSessionAttribute(...)
cocoon.sendPage("form2-success-pipeline");My modifcation of sitemap.xmap
<map:match pattern="form2-success-pipeline">
<map:generate src="forms/dummy.xml"/>
<map:transform type="readDOMsession">
<map:parameter name="dom-name" value="document"/>
<map:parameter name="trigger-element" value="root"/>
<map:parameter name="position" value="in"/>
</map:transform>
<map:transform src="xsl/form2_fop.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
