Subject: RE: Collapsing run-on tag chains not working in saxon or xa lan
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Tue, 2 Nov 2004 11:04:05 -0600
|
David wrote:
> trouble is in the html world it can often result in inter-word space being
dropped as msxml drops all white
> space text nodes not just those in element content.
Would you happen to have a typical example of that? Until now we haven't had
problems with inter-word space being dropped, at least not that I know of.
It would be useful to know as some of our developers are about to jump to
use XML and XSLT in their web apps. TIA
Cheers,
<prs/>
-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Tuesday, November 02, 2004 10:51 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Collapsing run-on tag chains not working in saxon or xa
lan
Personally, in some cases, I don't see a problem in stripping the white
space; in fact, in the HTML world, stripping white space can even optimize
the way browsers renders a given page. Extra whitespace between elements
(and carriage returns) can introduce differences at the pixel render
position level. That's why we prefer to use long one-liners without
whitespace and CRs - ugly, but necessary.
trouble is in the html world it can often result in inter-word space being
dropped as msxml drops all white space text nodes not just those in element
content.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The service is powered
by MessageLabs. For more information on a proactive anti-virus service
working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
|