Jörn,

 well, as far as I know, the <xsl:output> element in stylesheet
 doesn't work in Cocoon.
 But, fortunately, the <indent> element can be set to "yes" in
 both the XMLSerializer and HTMLSerializer declatarions of the
 sitemap (as you suggested).

 This trims the fat a little... but I'd like to trim Javascript as well
 ... anyway, thanks for helping me.

 Best regards,

 ---------------------------------------------
                Luca Morandini
                GIS Consultant
               [EMAIL PROTECTED]
 http://utenti.tripod.it/lmorandini/index.html
 ---------------------------------------------


> > -----Original Message-----
> > From: Jörn Heid [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, March 09, 2002 2:52 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: AW: Compression in HTML Serializer ?
> >
> >
> > You can remove most of those whitespaces (those between tags)
> > with xslt und
> > some configurations within the sitemap.
> >
> > This won't work for JavaScript or CSS as it's plain text.
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Luca Morandini [mailto:[EMAIL PROTECTED]]
> > Gesendet: Samstag, 9. März 2002 12:54
> > An: Cocoon-users
> > Betreff: Compression in HTML Serializer ?
> >
> >
> > Folks,
> >
> > I've been ruminating about speeding up my Cocoon app... and came
> > up with the
> > conclusion that un-necessary white spaces in my app use more than
> > the usual
> > 20-30% of an HTML page.
> >
> > Hence, I was wondering how to squeeze HTML of unnecessary spaces (and,
> > maybe, of Javascript comments ?) in the HTML Serializer (or in a
> > HTMLSerializer-derived serializer).
> >
> > I know, web-servers can use compression schemes, but I'd like
> to give them
> > something slimmer anyway.
> >
> > Does it make any sense ?
> > There's anyone who already thougth about it ?
> > Is someone interested in developing it ?
> >
> > Best regards,
> >
> > ---------------------------------------------
> >                Luca Morandini
> >                GIS Consultant
> >               [EMAIL PROTECTED]
> > http://utenti.tripod.it/lmorandini/index.html
> > ---------------------------------------------
> >
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to