This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl string comparison fails why?
- From: "Passin, Tom" <tpassin at mitretek dot org>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 25 Sep 2002 14:09:55 -0400
- Subject: RE: [xsl] xsl string comparison fails why?
- Reply-to: xsl-list at lists dot mulberrytech dot com
Jeni,
> It's only spaces in the *middle* of the string that get
> collapsed down to a single string. So for example:
>
> "New<cr><space><space><cr><space><space>York"
>
> would become:
>
> "New York"
>
I remembered that after I sent my post, but before sending it, when I
actually tried it out on his sample, normalize-space() did not produce a
match and contains() did. Guess that helped me not to remember!
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list