XmlDocument::setName

#include <DbXml.hpp>

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

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.

Class

XmlDocument

See Also

XmlDocument Methods