[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Collapsing run-on tag chains not working in saxon

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
html inter word space
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
________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.