...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
              [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Bert Van Kets [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 25, 2002 2:10 PM
> To: [EMAIL PROTECTED]
> 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:     <[EMAIL PROTECTED]>
> >For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
> ---------------------------------------------------------------------
> 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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to