Hi Justin, Have a look at http://forum.java.sun.com/thread.jspa?threadID=562510&start=0&tstart=0
It seems those guys got indentation working. Cheers, Robby -----Original Message----- From: Justin Hannus [mailto:[EMAIL PROTECTED] Sent: maandag 24 april 2006 17:18 To: [email protected] Subject: output indentation once and for all I've been trying to find documentation on how to get nicely indented output from cocoon for the *longest* time and with no luck. I've been lead down some many wrong paths that I'm about to give up on ever having pretty xml ever again. I'm using Cocoon 2.1.7, XMLSerializer and Xalan which all ship with 2.1.7. These are all the things I've read in several different places and tried several times with not luck :-( 1. <xsl:output> does not work. 2. <?cocoon-format?> pi's did not work or were just too hard to configure for indenting with little or no documentation. 3. Adding <indent>yes</indent> to XMLSerializer config does not do anything. This seems like such a trivial thing to do with such a robust xml processing framework like cocoon. Is anyone out there able to produce pretty indented xml with the same components I've listed above or with different combinations? I realize that a different serializer or transformer implementation might be part the solution but I have yet to find it. What I'm hoping to do with this thread is end all indentation questions with Cocoon one and for all. What are you using and how? Thanks, -- Justin Hannus Software Engineer | Infrastructure | Lycos Inc. [EMAIL PROTECTED], www.lycos.com [781] 370 2988 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
