|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] Linking Saxon through to exist databaseWolfgang wolfgang at exist-db.orgSat Jan 24 13:06:04 PST 2009
> I've installed exist and using it's sandbox its working fine. Since this is a product specific question, it should probably be discussed on the eXist mailing list. Anyway ... > Can I connect a query to that database and use > Saxon for the query engine? > > http://localhost:8080/exist is the http endpoint. > > http://en.wikibooks.org/wiki/XQuery/Searching_multiple_collections > shows using let $col-a := '/db/test/a' > which is clearly incorrect for the file protocol? You can access documents via HTTP using e.g. http://localhost:8080/exist/rest/db/test/a/books.xml Using this link within e.g. an XSLT will be ok (though not efficient for larger docs). BUT: collections are a different matter since different XQuery implementations use different concepts of what consitutes a collection. http://localhost:8080/exist/rest/db/test/a returns an XML fragment listing the collection contents. If you really need to, you could pre-process that somehow to include all collection member documents. But as I said, it might not be very efficient. Wolfgang
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






