Guest tractis_rectis Posted February 28, 2006 Share Posted February 28, 2006 Hi, I want to compare strings in xpath as I do in sql, with a like operator. I've been reading a lot about collations. My question is are there any generic collations I can use. In case the answer is no, how do I create a collation and pass it to the xpath string functions?Thanks in advancedsample /vendor/name[contains(text(),"Mó")]/root() Shoud return the same as /vendor/name[contains(text(),"Mo")]/root()<?xml version="1.0" encoding="UTF-8" standalone="no" ?><vendor type="wholesale"> <name>Mom's Kitchen</name> <address>53 Yerman Ct.</address> <city>Middle Town</city> <state>MN</state> <zipcode>55432</zipcode> <phonenumber>763 554 9200</phonenumber> <salesrep> <name>Maggie Kultgen</name> <phonenumber>763 554 9200 x12</phonenumber> </salesrep></vendor> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now