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

RE: Preserving space between elements

Subject: RE: Preserving space between elements
From: "Steven Reddie" <smr@xxxxxxxxxxxxxx>
Date: Sat, 6 Nov 2004 01:48:18 +1100
xslt space between elements
Hi David,

I've been away for a while; I'll have to go over the archives for all the
gory details.  Thanks, that got me what I want with one fell swoop.

Regards,

Steven

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx] 
Sent: Friday, 5 November 2004 9:05 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Preserving space between elements


I rest my case:-)

Steven,

sorry if you just joined the list to ask my question but we have had a long
thread on this week with me explaining that losing spaces in IE is a
"feature" of an intentional non conformace of microsoft's parser...

You need to put xml:space="preserve" on teh top level element of your source
document otherwise msxml will "optimise" away your interword spaces. They no
this doesn't conform to the XML Rec, but they say it optimises your DOM
removing confusing white space nodes....

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.