cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lincoln Mitchell" <linc...@interfaces-n-creatives.com>
Subject RE: output indent yes?
Date Thu, 16 Aug 2007 02:37:10 GMT
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:joerg.heinicke@gmx.de]
> Sent: Thursday, 16 August 2007 8:47 AM
> To: users@cocoon.apache.org
> 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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message