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?
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