Hello Everyone

Thanks to Mark, I have been succeeded in implementing case-insensitive query string for my dbxml project. I am now facing a problem with contain function which I am using so that if a part of name is given for query, it can return me that as a valid result.

The query string I am using is:

xpath = "//person[contains(translate( Name,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')=
translate('"+ strName + "','ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'))]";


I want that for a name Mark J. Stang , if the user queries for either Mark or Stang or J, it can return the Result for Mark J. Stang

The above xpath string is not working. Can someone point out whats teh mistake in it?

Thanks



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com



Reply via email to