XmlDocument::getContentAsDOM

API Ref

#include <DbXml.hpp>

xercesc_2_6::DOMDocument *XmlDocument::getContentAsDOM() const;


Description: XmlDocument::getContentAsDOM

Returns the document content as a Xerces Document Object Model (DOM). If the document is from a node storage container, the nodes are live, and retrieved on demand from the container database. This means that nodes will not be available if the transaction in which the document was retrieved is committed or aborted.

Errors

The XmlDocument::getContentAsDOM method may fail and throw XmlException, encapsulating one of the following non-zero errors:

DOM_PARSER_ERROR
The document could not be returned as a DOM.

APIRef

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