XmlQueryContext::getNamespace

API Ref

#include <DbXml.hpp>

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


Description: XmlQueryContext::getNamespace

The XmlQueryContext::getNamespace method returns the namespace URI for the specified prefix. An empty string is returned if no URI is defined for the prefix.

Parameters

prefix
The name of the namespace prefix whose URI mapping is required.

Return the namespace URI for the specified prefix, or an empty string if no URI is defined for that prefix.


Class

XmlContainer, XmlDocument, XmlException, XmlIndexSpecification, XmlQueryContext, XmlQueryExpression, XmlResults, XmlUpdateContext, XmlValue

APIRef

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.