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]

Re: case insensitive comparison


But this was discussed too:

> 	   <xsl:when test= "self::node()[@internal = //bookmark/@name]">

the predicate is true if @internal equals one of the string-values of
the node-set //bookmark/@name

> <xsl:when test= "self::node()
>              [translate(@internal,$u,$l) = 
>               translate(//bookmark/@name,$u,$l)]">

in this case translate gets as parameter a node-set, i.e. it translates
only the string-value of the first node.

Or did I misunderstand something in XPath?

Cheers,
Oliver


/-------------------------------------------------------------------\
|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@informatik.hu-berlin.de             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/


 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]