XmlContainer::addAlias

#include <DbXml.hpp>

bool addAlias(const std::string &alias)

The XmlContainer::addAlias method adds a new name alias to the list maintained by the containing XmlManager . The new alias can then be used as a parameter to the collection() function in an XQuery expression. Returns true if the alias is successfully added. If the alias is already used by the containing XmlManager object, false is returned.

Parameters

alias

The new alias to be added.

Class

XmlContainer

See Also

XmlContainer Methods