Dear Basex People,
I have this fragment:
let $xml-doc := 'MyDatabase/bogus-entry.xml'
let $list := if (doc-available($xml-doc)) then doc($xml-doc)/* else ()
return $list
I'd expect BaseX to return the empty sequence when the document is not in the collection. But Basex returns an error:
[basex:doc] Database path 'MyDatabase/bogus-entry.xml' yields no documents.
Thanks in advance!!
--
Arjan Loeffen
Armatiek BV & Armatiek Solutions BV
06-12918997