RE: [xsl] Allowing whitespace to stop merge of adjacent nodes

Subject: RE: [xsl] Allowing whitespace to stop merge of adjacent nodes
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 10 Oct 2006 12:18:49 +0100
> In this case, I wouldn't expect the nodes to be merged as 
> they're not strictly adjacent (there's a whitespace node 
> between them) - but they are!
> 
> Can anyone tell me what I'm doing wrong?

Perhaps you're using the Microsoft MSXML parser, which notoriously removes
whitespace text nodes without first asking you for permission. You can
switch this behaviour off, unless you're running in the browser.

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

Current Thread