Dear All,
There is a new experimental Transformer in the Cocoon 2.0.2-dev scratchpad
called FileWritingTransformer.
The Transformer responds to a tag like this:
<xfwt:write src="docs/result.xml">
<page>
<title>FileWritingTransformer Test</title>
<content>
<para>My Content</para>
</content>
</page>
</xfwt:write>
by writing an XML file to disk at the specified location with the contents
of the <xfwt:write/> tag as the contents of the file.
PLEASE NOTE!
This code is NOT READY for a production environment.
However, if you would like to try out the tests that come with the
Transformer (they are in 'xml-cocoon2/src/scratchpad/webapps/mount/editor')
and comment on them, I would be very happy to hear your suggestions.
My aim is to end up being able to make xml file editor pipelines.
regards Jeremy
--
___________________________________________________________________
Jeremy Quinn Karma Divers
webSpace Design
HyperMedia Research Centre
<mailto:[EMAIL PROTECTED]> <http://www.media.demon.co.uk>
<phone:+44.[0].20.7737.6831> <pager:[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>