That's works for content from the hello.XML file but doesn't indent my html in the xsl file. Ie: ... <h1>Hello</h1> <p>This is my first Cocoon page!</p> <p>my para</p> <div> <div> <div /> </div> </div> ...
> -----Original Message----- > From: Joerg Heinicke [mailto:[EMAIL PROTECTED] > Sent: Thursday, 16 August 2007 8:47 AM > To: [email protected] > Subject: Re: output indent yes? > > On 15.08.2007 20:01 Uhr, Lincoln Mitchell wrote: > > > I can't get indents on the hello world xhtml example > > > > What am I missing? Something in the sitemap? > > Yes, indeed. The serializer is configured with the same settings as in > xsl:output in the sitemap's component configuration: > > <map:serializer logger="sitemap.serializer.html" > mime-type="text/html" name="html" pool-max="${html-serializer.pool-max}" > src="org.apache.cocoon.serialization.HTMLSerializer"> > <doctype-public>-//W3C//DTD HTML 4.01 > Transitional//EN</doctype-public> > <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype- > system> > </map:serializer> > > (Taken from sitemap coming with Cocoon.) > Just add <indent>yes</indent> to it in the same way. > > Joerg > > --------------------------------------------------------------------- > 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]
