XmlQueryContext::setWithMetaData |
#include <DbXml.hpp>void XmlQueryContext::setWithMetaData(bool withMetaData); bool XmlQueryContext::getWithMetaData() const;
The XmlQueryContext::setWithMetaData method allows the application to define whether the document metadata should be materialised as attributes of the root node before a query is performed. By default, the metadata is added. Adding the metadata has some cost, and if it is not necessary for correctness of the query, leaving it off is more efficient.
Discover whether or not document metadata will be materialised before the query is performed. The default is true.
.Returns the boolean value set in the XmlQueryContext object.
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.