Subject: Re: [xsl] Wild Card Search From: Peter Davis <pdavis152@xxxxxxxxx> Date: Sun, 17 Feb 2002 19:39:51 -0800 |
On Sunday 17 February 2002 12:38, Kunal H. Parikh wrote: > Thanks for the help jeni ! > > One more Q. Is there a way i could "ignore-case" ? > > > Thanks, > > Kunal Not with XSLT/XPath 1.0. I believe there is an xf:lower-case function in XPath 2.0. For now you need to use an extension function, or, if you are absolutely positive that you are only using only English ASCII letters, do something like <xsl:for-each select="TAP/TutorialList/Tutorial[DifficultyLevel[contains( translate(., 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'), 'inne')]]"> -- Peter Davis Virtue does not always demand a heavy sacrifice -- only the willingness to make it when necessary. -- Frederick Dunn XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Wild Card Search, Kunal H. Parikh | Thread | [xsl] URL query as table data, Harry J. Foxwell |
Re: [xsl] Wild Card Search, Kunal H. Parikh | Date | Re: [xsl] XML to FrameMaker MIF via, Bertrand Delacretaz |
Month |