> From: Thomas Sempf [mailto:[EMAIL PROTECTED] > > Hi, > i am still trying to get the openorb thing right. So i copied the > openorb jars in the common/lib directory. But i still get the same error. > > I try a xpath query like this, is it correct(?): > > http://localhost:8080/cocoon/xmldb/bible//fl[contains(text(),'God')]
If you are using sitemap from Cocoon samples, then it is not correct. Correct will be: http://localhost:8080/cocoon/xmldb/db/xxx/bible?xpath=//fl[contains(text (),'God')] (replace 'xxx' with your collection name, e.g.: test) if bible is one resource, and: http://localhost:8080/cocoon/xmldb/db/bible/?xpath=//fl[contains(text(), 'God')] if bible is a collection. And, make sure that sitemap have following change: <map:generate src="xmldb:dbxml://localhost:4080/{../1}#{1}"/> Note: Used '#' sign instead of '?' sign. PS: Why do you need openorb? It does work without it for me... Vadim
