XmlContainer::getNode API Ref

#include <DbXml.hpp>

XmlValue getNode(const std::string &nodeHandle, u_int32_t flags = 0)

XmlDocument getNode( XmlTransaction &txn, const std::string &nodeHandle, u_int32_t flags = 0)


Description: XmlContainer::getNode

The XmlContainer::getNode method returns the XmlValue of type XmlValue::NODE representing the specified handle. The handle must represent a node in a document in the XmlContainer. If the document or node has been removed, the operation may fail.

Node handles are guaranteed to remain stable in the absence of modifications to a document. If a document is modified, a handle may cease to exist, or may belong to a different node.

Parameters
txn nodeHandle flags

Errors

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


DATABASE_ERROR

DOCUMENT_NOT_FOUND

APIRef

Copyright (c) 1996-2009 Oracle. All rights reserved.