I tried cleaning up the form with an xsl tranformation removing the item
objects using the following flowscript:

...some stuff..

var outputstream = new java.io.ByteArrayOutputStream();
cocoon.processPipelineTo("formcleanup", form.getXML(), outputstream);

  form.saveXML(savepath, outputstream);

  cocoon.sendPageAndWait("formcleanup", form.getXML());

Now, the saved file STILL contains the item objects. but the page I get from
the sendPageAndWait does not!

How is this possible?

Kind regards,

job


On Tue, Nov 18, 2008 at 1:24 PM, Job van Ommen <[EMAIL PROTECTED]>wrote:

> Hello Everyone,
>
> I am currently using a form to create xml configuration files.
>
> However, when I usethe repeater-action widget, it creates a tag called item
> around the desired created tag.
>
> <item position="1">
> <module>module2</module>
> </item>
>
> Is there an easy way to disable this or any good work around?
>
> I'd rather not make an extra pipeline to process my configuration file to
> remove the polluted tags before saving it...
>
> Kind regards,
>
> Job
>
>
>
>

Reply via email to