[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: On-the-fly case-conversion w. translate()
> <xsl:if test="@name[not(translate (self::node(), > abcdefghijklmnopqrstuvwxyz, > ABCDEFGHIJKLMNOPQRSTUVWXYZ) = translate > (following::Program/@name, abcdefghijklmnopqrstuvwxyz, > ABCDEFGHIJKLMNOPQRSTUVWXYZ))]" > > > This does NOT work! Duplicates are eliminated, > however, "project oregon" & "Project Oregon " are > treated as separate /unique strings. What am I doing > wrong? > Try adding quotes, e.g. 'abcdefghijklmnopqrstuvwxyz' Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|