|
Subject: RE: [xsl] String comparisons fail unexpectedly: how can 'USA' not be 'USA'? From: Joerg Pietschmann <joerg.pietschmann@xxxxxx> Date: Wed, 27 Feb 2002 17:41:41 +0100 |
TSchutzerWeissmann@xxxxxxxxxxxxxxxx wrote:
> Is there a way of using keys instead?
Look up normalize-space()may solve you problem:
<xsl:key name="cc" match="Corporation"
use="normalize-space(Access/Billcodes/Billcode/@Country)"/>
Or not, be careful if there are multiple Billcode elements.
Don't forget to normalize space while invoking the key, just to
avoid surprises:
select="key('cc',normalize-space($cty))"
HTH
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] String comparisons fail u, Joerg Pietschmann | Thread | [xsl] the "use" parameter for a key, TSchutzerWeissmann |
| RE: [xsl] forum threads sorting, McNally, David | Date | Re: [xsl] Value-of, copy-of, Mike Ferrando |
| Month |