XmlQueryContext::setBaseURI |
![]() ![]() |
#include <DbXml.hpp>void XmlQueryContext::setBaseURI(const std::string &baseURI)
std::string XmlQueryContext::getBaseURI();
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'.
ParametersThe XmlQueryContext::setBaseURI method may fail and throw XmlException, encapsulating one of the following non-zero errors:
Returns the base URI set for this XmlQueryContext object.
![]() ![]() |
Copyright (c) 1996-2009 Oracle. All rights reserved.