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(_at_)nag(_dot_)co(_dot_)uk]
Sent: Tuesday, November 02, 2004 10:51 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] 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
________________________________________________________________________
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--