You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Arno Illmann <ar...@ge.stalt.de> on 2001/10/17 01:06:43 UTC
Output code formatting
Hi,
I have three suggestions/questions:
a) In C1 it was possible to configure the line length of the
HTML output . Something similar existing in C2?
Little, but crucial (Netscape 4) part of HTML publishing.
(i.e: If a line breaks in a td tag in N4, whitespace is added to
the content of the table cell and possibly explodes a layout )
b) Is it possible to eliminize all whitespaces (perhaps CR too)
in the output code (i.e for wap "browsers" with very limited memory)
without an xslt document full of normalize-space function calls?
c) Configuring Sitemap with:
<map:serializer name="html" mime-type="text/html"
src="org.apache.cocoon.serialization.HTMLSerializer">
<doctype-public>-//W3C//DTD HTML 4.0 Transitional//EN</doctype-public>
<encoding>iso-8859-1</encoding>
<indent>1</indent>
</map:serializer>
has no effect on an indent in the source shown by the browser. Something wrong?
Is "indent" meant in connection with output code formatting?
Best regards, Arno Illmann
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: Output code formatting
Posted by Martin Man <Ma...@seznam.cz>.
On Wed, Oct 17, 2001 at 01:06:43AM +0200, Arno Illmann wrote:
> Hi,
>
> I have three suggestions/questions:
>
> <snip/>
>
> c) Configuring Sitemap with:
>
> <map:serializer name="html" mime-type="text/html"
> src="org.apache.cocoon.serialization.HTMLSerializer">
> <doctype-public>-//W3C//DTD HTML 4.0 Transitional//EN</doctype-public>
> <encoding>iso-8859-1</encoding>
> <indent>1</indent>
Just tried <indent>true</indent> and the resulting html was surely different
> </map:serializer>
>
> has no effect on an indent in the source shown by the browser. Something
> wrong?
> Is "indent" meant in connection with output code formatting?
>
>
> Best regards, Arno Illmann
>
martin
--
2CC0 4AF6 92DA 5CBF 5F09 7BCB 6202 7024 6E06 0223
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org