XPathExpression

APIRef

#include <DbXml.hpp>

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

Description

An XPathExpression represents a parsed XPath expression. They are created with XmlContainer::parseXPathExpression and evaluated with XmlContainer::queryWithXPath.

Parsed XPath expressions are useful as the cost of the expression parsing and optimization can be amortized over many evaluations.

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