Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Case Insensitive Search in XPath 1.0

Status
Not open for further replies.

Kingspice

Technical User
Feb 7, 2007
5
GB
Hi,
I want to do a Xpath query e.g.:
<xsl:for-each select="/library/authors/author[contains(lastname,$author)]">
but want it to be a case-insensitive. I know in Xpath 2.0 there is a lower-case function but is there anyway of achieving the same desired effect using Xpath 1.0?

Thanks
Gareth
 
thanks a lot, didn't think of that solution :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top