RE: [xsl] Preserving White Space in Immediate following-sibling

Subject: RE: [xsl] Preserving White Space in Immediate following-sibling
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 27 Jun 2005 20:16:10 +0100
> I'm having a problem preserving white-space between two elements that
> immediately follow each other. 

My guess is that you are using the Microsoft XML parser, which removes such
whitespace nodes by default before the XSLT processing even starts.

If you're invoking the parser via an API there's a switch somewhere to
suppress this irritating behaviour. If you're invoking it using the
<?xml-stylesheet?> processing instruction then sadly, you're out of luck.

Michael Kay
http://www.saxonica.com/

Current Thread