cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <luca.morandi...@tin.it>
Subject RE: 'optimised HTML' serialiser
Date Tue, 25 Jun 2002 12:21:12 GMT
...or, for the sake of getting rid of indentation, you can set <indent>no</indent>
in your HTML serializer definition.

But, if you have big HTMLs, the real answer is compress the whole thing; both IIS and Apache
have this feature, which is supported
by most browsers too.

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Bert Van Kets [mailto:bert@vankets.com]
> Sent: Tuesday, June 25, 2002 2:10 PM
> To: cocoon-users@xml.apache.org
> Subject: Re: 'optimised HTML' serialiser
>
>
> If you want to strip the indent spaces add these lines to the last XSL:
>
>    <xsl:output indent="no" method="html"/>
>    <xsl:strip-space elements="*"/>
>
> To optimise the flow, I add them to every XSL.
> Bert
>
> At 13:33 25/06/2002 +0200, you wrote:
> >Hi,
> >
> >In a production environment, it's important to have 'optimised HTML'
> >(without quotes, without spaces, etc ...) in order to lower the number of
> >bytes to the end user. This question sounds a little silly, but does
> >anyone know a transformer or a serialiser that produces such HTML ?
> >
> >
> >---------------------------------------------------------------------
> >Please check that your question  has not already been answered in the
> >FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> >
> >To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> >For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


Mime
View raw message