[xquery-talk] Linking Saxon through to exist database
Dave Pawson
dave.pawson at gmail.com
Sat Jan 24 12:24:10 PST 2009
2009/1/24 Wolfgang <wolfgang at exist-db.org>:
>> 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 ...
Cross product? :-)
> You can access documents via HTTP using e.g.
>
> http://localhost:8080/exist/rest/db/test/a/books.xml
wget on http://localhost:8080/exist/rest/db/books/a works fine here.
Using Saxon I get
Error
XPTY0019: Required item type of first operand of '/' is node();
supplied value has item
type xs:string
Static error(s) in query
(no indication on line number so I'm not sure if its' the let or the
for statement in error.)
for
let $a := 'http://localhost:8080/exist/rest/db/books/a'
return
<books>{
for $book in $a//book
return
$book
}</books>
where 'books' is the collection.
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
More information about the talk
mailing list