XmlDocument::fetchAllData

API Ref

#include <DbXml.hpp>

void XmlDocument::fetchAllData()


Description: XmlDocument::fetchAllData

If a document was retrieved using DBXML_LAZY_DOCS, then document content and metadata is only retrieved from the container on an as-needed basis. This method causes all document data and metadata to be retrieved. Note that documents in node storage containers are implicitly lazy.

Note that if DBXML_LAZY_DOCS was not used to retrieve the document, then use of this method has no significant performance impact. However, if the document was retrieved lazily, then repeatedly calling this method on any given document may hurt your application's performance. This is because each time this method is called, Berkeley DB XML must walk the entire document tree in order to ensure that it has retrieved the entire document.


APIRef

Copyright (c) 1996,2007 Oracle. All rights reserved.