cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: Create New File
Date Fri, 12 Jan 2007 00:18:50 GMT
On 11.01.2007 22:18, BMur wrote:

> I would like to create a new file within the filesystem on-the-fly.  If
> possible I would like to do this in an xmap file (usecase.xmap).  I'd like
> to pass the xmap file some variables, and create a new xml file based on
> those variables.  For instance:
> <source:write create="true"
> xmlns:source="">
> <source:source>MyTestfileName.xml</source:source>
> <source:fragment>"Value of passed variable"</source:fragment>
> </source:write>
> I've tried various methods of creating the file using source:write in the
> xmap, however nothing has worked thus far.  I'd paste my errors here,
> however I receive different errors depending on the different attempts I've
> made.

The above code looks at least like a code snippet for the 
SourceWritingTransformer, which is a possible choice. But we can't help 
if you don't provide at least the pipeline code from your sitemap, which 
seem to be named usecase.xmap in your case.


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

View raw message