XmlQueryContext

APIRef

#include <DbXml.hpp>

class DbXml::XmlQueryContext { public: XmlQueryContext(); XmlQueryContext(const XmlQueryContext &); ~XmlQueryContext(); XmlQueryContext &operator = (const XmlQueryContext &) ... };

Description

An XmlQueryContext is the context within which a query is performed against an XmlContainer. This context includes a namespace mapping, variable bindings, and flags that determine how the query result set should be determined and returned to the caller.

The XPath syntax permits expressions to refer to namespace prefixes, but not to define them. The XmlQueryContext class provides namespace management methods so the caller may manage the namespace prefix to URI mapping. The XPath syntax also permits expressions to refer to variables, but not to define them. The XmlQueryContext class provides methods so the caller may manage the variable to value bindings.

Class

XmlContainer, XmlDocument, XmlQueryContext

See Also

XmlContainer::close, XmlContainer::declareIndex, XmlContainer::deleteDocument, XmlContainer::getDocument, XmlContainer::getName, XmlContainer::open, XmlContainer::putDocument and XmlContainer::queryWithXPath.

XmlDocument::getAttributeValue, XmlDocument::getContent, XmlDocument::getID, XmlDocument::getName, XmlDocument::getType, XmlDocument::setContent, XmlDocument::setName, and XmlDocument::setType.

APIRef

Copyright Sleepycat Software