I have a problem with xpath
I have code:
String s = "//*";
query = manager.createQuery(s,Query.XPATH);
QueryResult result = query.execute();
NodeIterator it = result.getNodes();
but thid code doesnt return all nodes but only root node
when I used sql
String s = "select * from nt:unstructured"
it was working good.
anyone knows where can be a problem?
another question how can i use sql for searching nodes with sql for
properties? where can i find syntax of sql for jackrabbit?
thanks for help
Michal Hybler
--
View this message in context:
http://www.nabble.com/searching-nodes-tf3058568.html#a8686673
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.