RE: [xsl] Output a default value for an empty node

Subject: RE: [xsl] Output a default value for an empty node
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Wed, 6 Oct 2004 17:07:39 +0100
> Has this changed or is this a different case?

Replying to myself - the difference is normalize-space() will return
false for <foo> </foo> while string() will return true... It depends on
whether the OP considers a node with a single whitespace only text node
child empty.  This one has come up a few times :)


cheers
andrew

Current Thread