Gul Akbar wrote:
I have tried removing all the occurences of the namespace in the XML records, and the XPath works fine. So this leaves me to believe that there must be something to do with the XPathQueryService class and the way it detects namespaces.

Has anyone come across this before.


AFAIK namespaces work just fine: we rely on the Xalan engine, so basically if they work with XSLT they should work with Xindice, so I tend to suspect that there is something wrong in your code or in your documents. Have you removed the following line?


 service.setNamespace("xmlns","http://www.loc.gov/METS/";);

Ciao,

--
Gianugo Rabellino
Pro-netics s.r.l.
http://www.pro-netics.com



Reply via email to