cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <>
Subject Re: Sitemap in Cocoon 2 (fwd)
Date Sat, 21 Jul 2001 08:58:22 GMT

---------- Forwarded message ----------
Date: Sat, 21 Jul 2001 10:57:55 +0200 (CEST)
From: giacomo <>
Subject: Re: Sitemap in Cocoon 2

On Fri, 20 Jul 2001, Hege Hansbakk wrote:

> I have a question concerning the sitemap used in Cocoon 2. On Cocoon's web
> pages there is an example saying the following:
>        <map:serializers default="html">
>         <map:serializer type="html" mime-type="text/html"
>           src="class:///org.apache.cocoon.serializer.HTMLSerializer">
>          <doctype-public value="-//W3C//DTD HTML 4.0 Transitional//EN"/>
>          <doctype-system value=""/>
>          <preserve-space value="true"/>
>          <encoding value="UTF-8"/>
>          <indent value="1"/>
>          <line-width value="120"/>
>         </map:serializer>
> I guess the <preserve-space value="true"/> tag is supposed to say if
> spaces should be kept (when set true) or not (when set false).
> I have tried this in my sitemap, but that tag does not change the output
> file in any way. Can somebody tell me why? (I do not want any spaces
> or line breaks in the output)

Looking into the HTMLSerializer I've found that the sample you mentioned
above does not reflect the current capabilities of the HTMLSerializer.
The following configuration options are not implemented:


I think we should put it into the ToDo list for it to have all
available options from the underlying Transformer.

I will post this on the dev list as well.


To unsubscribe, e-mail:
For additional commands, email:

View raw message