RE: Output a default value for an empty node2004-10-06 09:07:39Has 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
|
|