|
[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 databaseDave Pawson dave.pawson at gmail.comSat Jan 24 12:24:10 PST 2009
2009/1/24 Wolfgang <http://x-query.com/mailman/listinfo/talk>:
>> 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
|
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
|






