XmlContainer::deleteDocument API Ref

#include <DbXml.hpp>

void XmlContainer::deleteDocument(const std::string name, XmlUpdateContext &context)

void XmlContainer::deleteDocument(XmlDocument &document, XmlUpdateContext &context)

void XmlContainer::deleteDocument(XmlTransaction &txn, const std::string name, XmlUpdateContext &context)

void XmlContainer::deleteDocument(XmlTransaction &txn, XmlDocument &document, XmlUpdateContext &context)


Description: XmlContainer::deleteDocument

The XmlContainer::deleteDocument method removes the specified XmlDocument from the XmlContainer.


Description: void XmlContainer::deleteDocument(XmlTransaction &txn, const std::string name, XmlUpdateContext &context)

Delete the document with the given name.

Parameters
txn name context

Errors

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


DATABASE_ERROR

DOCUMENT_NOT_FOUND

Description: void XmlContainer::deleteDocument(XmlTransaction &txn, XmlDocument &document, XmlUpdateContext &context)

Removes the specified XmlDocument from the XmlContainer.

Parameters
txn document context

Errors

The XmlContainer::deleteDocument 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.