#include <DbXml.hpp> void XmlQueryContext::setBaseURI(const std::string &baseURI)
Sets the base URI used for relative paths in query expressions. For
example, a base URI of file:///export/expression/
, and a relative
path of ../another/expression
, resolves to
file:///export/another/expression
.
The XmlQueryContext::setBaseURI
method may
fail and throw
XmlException
, encapsulating one of the following
non-zero errors: