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]

Reply via email to