[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Loss of whitespace with back to back nested tags


Subject: Re: [xsl] Loss of whitespace with back to back nested tags
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 12 Nov 2003 17:18:23 GMT

> I'm sure its something simple,

Most likely it's using MSXML which helpfully "optimises" your input by
removing white space text nodes (contrary to any known spec)

saxon keeps the spaces beween the foo terms in your final body element.

You can get msxml to conform by setting its preservewhitespace property
from the script you use to call it, or (if I recall correctly) the -w
option to the msxsl commandline.

David


-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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



Current Thread