This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl string comparison fails why?
- From: Joerg Heinicke <joerg dot heinicke at gmx dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 25 Sep 2002 19:24:15 +0200
- Subject: Re: [xsl] xsl string comparison fails why?
- References: <5D3C2276FD64424297729EB733ED1F76B3C517@email1.mitretek.org>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Actually, even nomalize-space() does not quite do it because it
collapses all the whitespace down to one space, resulting in
Alabama<space>
Isn't this a trailing space, which will be removed??
This still won't match "Alabama", but
contains(.,$state)
will work.
After that, as Mike and Danny say, some redesign will probably be a good
idea, either of the source or the stylesheet.
Cheers,
Tom P
Regards,
Joerg
--
System Development
VIRBUS AG
Fon +49(0)341-979-7419
Fax +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list