cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: Sitemap in Cocoon 2 (fwd)
Date Mon, 23 Jul 2001 12:07:38 GMT
> Giacomo Pati wrote:
>
> ---------- Forwarded message ----------
> Date: Sat, 21 Jul 2001 10:57:55 +0200 (CEST)
> From: giacomo <giacomo@apache.org>
> To: cocoon-users@xml.apache.org
> 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="http://www.w3.org/TR/REC-html40/loose.dtd"/>
> >          <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:
>
>    preserve-space
>    line-width
>
> I think we should put it into the ToDo list for it to have all
> available options from the underlying Transformer.
>
The OutputKeys from javax.xml.transform does currently not support
the two properties.

Carsten

> I will post this on the dev list as well.
>
> Giacomo
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


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


Mime
View raw message