[xsl] Using normalize-space to test for characters in text nodes

Subject: [xsl] Using normalize-space to test for characters in text nodes
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Wed, 3 Nov 2004 08:53:03 -0000
Consider the following xml snippet:

<root>
  <node> </node>
  <node>&#160;</node>
</root>

normalize-space() returns false for the first node, and true for the
second.  I would have expected both to return false - why is the second
node considered different from the first?

cheers
andrew

Current Thread