cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bert Van Kets <>
Subject creating new file with SWT
Date Wed, 31 Jul 2002 10:02:05 GMT
Hi all,
I am trying to get the SourceWritingTransformer to create a new XML 
file.  Is this possible at all?  All the samples I find write to existing 
files.  The portal is the only sample that writes new files, but it's using 
session:target to create the new files.

Anyway, here's my code snip

            <title>new page</title>
            <description>description of new page</description>
            <content>Enter your content here</content>

And the pipeline that manages it

<map:generate type="request"/>
<map:transform src="admin/styles/new-page.xsl">
<map:parameter name="use-request-parameters" value="true"/>
   <map:parameter name="dir" value="{1}"/>
<map:transform type="write-source"/>
<map:serialize type="xml"/>

I'm using CVS HEAD from May 15th.  Should I update?

Any help is welcome!


Please notify me if you did not receive this mail.

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message