xsl-list
[Top] [All Lists]

Re: XSLT: check if value is whitespace(s)

2004-08-11 06:50:57
David,

David Carlisle wrote:

test="normalize-space($x)"


if $x is white, normalize-space($x) is the empty string, and tests as
false() in a boolean test.

Thanks!

I wasn't sure if a value that consists of a single or more blanks (user input) would count as whitespace and could be treated with normalize-space.

Ralph