XmlDocument::setName

API Ref

#include <DbXml.hpp>

void XmlDocument::setName(const std::string &name);


Description: XmlDocument::setName

The XmlDocument::setName method sets the name of the document. Note that when the document is put in a container, either the name that you specify must be unique, or you must use the DBXML_GEN_NAME flag, or an exception is thrown.

Parameters

name
A string containing the name to be assigned to the XmlDocument.

APIRef

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