RE: [xsl] unwanted space in scps

Subject: RE: [xsl] unwanted space in scps
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 20 Jan 2006 00:10:05 -0000
The serializer isn't supposed, when you say indent="yes", to add whitespace
anywhere except in places where it doesn't matter. It looks to me as if your
particular serializer is getting this wrong.

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: TGolshan@xxxxxxxxxxxx [mailto:TGolshan@xxxxxxxxxxxx] 
> Sent: 19 January 2006 23:30
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] unwanted space in scps
> 
> That worked. Thanks Mike!
> 
> By changing the indent to "no" I am losing the readability of 
> the HTML 
> file. Am I loosing anything else I do not know about?
> 
> -troy
> 
> 
> 
> "Haarman, Michael" <mhaarman@xxxxxxxxx> 
> 01/19/2006 12:43 PM
> Please respond to
> xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 
> 
> To
> "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> cc
> 
> Subject
> RE: [xsl] unwanted space in scps
> 
> 
> 
> 
> 
> 
> > From: TGolshan@xxxxxxxxxxxx
> 
> > I am trying change text to smallcaps in the middle of text 
> > while relying 
> > on a CSS, but am having a spacing problem. Below is my code 
> 
> 
> It may well be that unwanted EOLs are being generated on 
> serialization. Be
> sure that you are directing your output to *not* indent:
> 
>   <xsl:output method="html" indent="no"/>
> 
> This top level element will insure that inline markup stays inline.
> 
> 
> HTH,
> 
> 
> -----------------------------------
> Mike Haarman,
> XSL Developer,
> Internet Broadcasting Systems, Inc.

Current Thread