[xquery-talk] XQuery and databases - XQuery 2.0
houghtoa at oclc.org
Mon Jun 8 12:15:06 PDT 2009
> From: talk-bounces at x-query.com [mailto:talk-bounces at x-query.com] On
> Behalf Of derstubbi at gmx.de
> Sent: Monday, June 08, 2009 11:09 AM
> To: talk at x-query.com
> Subject: [xquery-talk] XQuery and databases - XQuery 2.0
> I have several questions concerning XQuery :
> how can I use a xml-file stored in a database ?
> I tried with eXist but i did not work:
> let $path :='http://localhost:8080/exist/rest/db/my.xml'
> ...doc(path )...
> -> FileNotFoundException:
> (I tried several other paths and combinations)
> When I use the path in my browser, I can see the file.
> What am I doing wrong ?
Did you try ...doc($path)...
More information about the talk