cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <>
Subject Re: FileWritingTransformer
Date Fri, 15 Feb 2002 17:24:54 GMT
Jeremy Quinn wrote:
> Dear All,
> I reckon I have the FileWritingTransformer and some samples ready for
> others to test.
> Would anyone have any objection to me adding them to the scratchpad?

Absolutely not! I would use it instanstly!

> I have chosen an Apache Namespace for it:
>         xmlns:xfwt=""
> Is there any objection to this?

> What does it do?
> Put this in a document that gets transformed by the FileWritingTransformer:
>                 <xfwt:write src="docs/result1.xml">
>                         <page>
>                                 <title>FileWritingTransformer Test Result 1</title>
>                                 <content>
>                                         <para>Congratulations!</para>
>                                 </content>
>                         </page>
>                 </xfwt:write>
> It creates the file with the <page/> as root element.

Question 1#: how hard would it be do to

 <xfwt:write src="xmldb://localhost/result.xml">

Question #2: do you check if the <xfwt:write> element includes *one* and
only *one* nested element? If not, we could end up with problems later

Anyway, sounds great.

Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<>           X-Mozilla-Status: 0009drich Nietzsche

To unsubscribe, e-mail:
For additional commands, email:

View raw message