You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jeremy Quinn <je...@media.demon.co.uk> on 2002/02/16 21:40:29 UTC

[ANN] FileWritingTransformer

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

   <ma...@mac.com>     		 <http://www.media.demon.co.uk>
   <phone:+44.[0].20.7737.6831>             <pa...@vizzavi.net>

---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>