cancel
Showing results for 
Search instead for 
Did you mean: 

xpath search

koolalfdev
Champ in-the-making
Champ in-the-making
I am calling the searchService.selectNodes(…) method and then fire a xpath query as: "descendant::*[@cm:content and @cm:name ='news.xml']" it works fine but when I do "descendant::*[@cm:content and jcr:like(@cm:name,'%xml')]" it does not work?

Any help is appreciated.

Thanks.
1 REPLY 1

koolalfdev
Champ in-the-making
Champ in-the-making
also I want to implement the comparison based on the created date so the query like String xpathQuery = "descendant::*[@cm:created<'2008-09-15']";  does not work any help relating the same would be a great help too. thanks Smiley Happy