This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: xsl string comparison fails why?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]