it looks ok
did u check if URI is ok?
or in this loop

while (resourceIterator.hasMoreResources()) {

Resource resource = resourceIterator.nextResource();

myResult.append((String) resource.getContent());

}

try to put System.out.println((String) resource.getContent()); there and check if it print something. It can be also a wrong XPath Query. Try very simple query at the first time.

 

Marcin Goldyn

Reply via email to