XmlQueryContext::setNamespace

API Ref

#include <DbXml.hpp>

void XmlQueryContext::setNamespace(const std::string &prefix, const std::string &uri)

std::string XmlQueryContext::getNamespace()


Description: XmlQueryContext::setNamespace

Maps the specified URI to the specified namespace prefix.

Parameters

prefix
The namespace prefix.
uri
The namespace URI.

Description: XmlQueryContext::getNamespace(const std::string &prefix)

Returns the namespace URI for the specified prefix. An empty string is returned if no URI is defined for the prefix.

Parameters

prefix
The namespace prefix whose URI mapping is required.

APIRef

Copyright (c) 1996,2007 Oracle. All rights reserved.