XmlContainer::getDocument |
![]() ![]() |
#include <DbXml.hpp>XmlDocument getDocument(const std::string &name, u_int32_t flags = 0)
XmlDocument getDocument( XmlTransaction &txn, const std::string &name, u_int32_t flags = 0)
The XmlContainer::getDocument method returns the XmlDocument with the specified name.
Because the XmlContainer::getDocument method will not hold locks across Berkeley DB interface calls in non-transactional environments, the DB_RMW flag to the XmlContainer::getDocument call is meaningful only in the presence of transactions.
The XmlContainer::getDocument method may fail and throw XmlException, encapsulating one of the following non-zero errors:
![]() ![]() |
Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.