XmlQueryContext::setBaseURI API Ref

#include <DbXml.hpp>

void XmlQueryContext::setBaseURI(const std::string &baseURI)

std::string XmlQueryContext::getBaseURI();


Description: XmlQueryContext::setBaseURI

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'.

Parameters
baseURI

Errors

The XmlQueryContext::setBaseURI method may fail and throw XmlException, encapsulating one of the following non-zero errors:


INVALID_ERROR

Description: XmlQueryContext::getBaseURI

Returns the base URI set for this XmlQueryContext object.


APIRef

Copyright (c) 1996-2009 Oracle. All rights reserved.