|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] Better way to structure XQueryWolfgang wolfgang at exist-db.orgWed Jul 8 22:56:01 PDT 2009
> I don't know if this helps, but you your query could be simplified as follows:
>
> let $mydoc := doc('http://localhost:8080/exist/rest/db/bio.xml')
As another side note, using an http uri here is unnecessary and makes
the query slow. eXist will assume that you are referencing an external
document (ignoring the 'localhost') and will retrieve it into memory.
Better use doc('/db/bio.xml') to have eXist access the document tree
which is already stored in the db.
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
|






