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

Subject: RE: [xsl] Preserving White Space in Immediate following-sibling
From: "Joe Heidenreich" <HeidenreichJ@xxxxxxxx>
Date: Mon, 27 Jun 2005 16:21:45 -0400
Ok thanks! I was afraid of that, but atleast I'm not left coding myself
in circles.

Joe

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Monday, June 27, 2005 3:16 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Preserving White Space in Immediate following-sibling

> 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