Hi, I generate an XML File with cocoon with no indents. Like <page><header></header><content></content>
Then I would like to save this file with indents with the SourceWritingTransformer. How can I do this? I already tried this (in vain): 1. I added <indent>yes</indent> to the configuration of the XML_Serializer (I use the XML-Serializer for the output of the SourceWritingTransformer). 2. In my pipeline I added a XSL-Transformation that copies the whole file but adds indents (with <xsl:output indent=yes/>) so that my pipeline looks like the following now: <map:match pattern="test"> <map:generate src="../test-files/archive-run.xml"/> <map:transform type="xslt" src="stylesheets/indent.xsl"></map:transform> <map:transform type="xslt" src="stylesheets/save.xsl"></map:transform> <map:transform type="write-source"></map:transform> <map:serialize type="xml"/> </map:match> But still the saved file has no indents. Any help is appreciated, Thanks Stephanie -- +++ GMX - die erste Adresse für Mail, Message, More +++ Bis 31.1.: TopMail + Digicam für nur 29 EUR http://www.gmx.net/topmail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]