XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Posttop
Karen LopezSubject: Problem with case sensitive
Author: Karen Lopez
Date: 18 May 2010 07:30 PM
Hi Guys!

I have a problem with the case sensitive searchs, I need to find a way to solve it!

I'm searching in a database in Exists, and I'm using the same code to control the case sensitive:

let $keyword := 'teatro'
let $generalqry := ($keyword, upper-case($keyword),lower-case($keyword))
for $register in collection('/db/bdng/musica')//rdf:Description [. &= $generalqry]

With that the query with the word "Hi" or "HI", "hi", throw me the same registers, but the data base has words in spanish, so it has accent marks...

How can i do that with words with or without accent marks throw me the same result??

let $keyword := 'canción' same as 'cancion'

any idea??

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.