XmlContainerConfig::setContainerType

#include <DbXml.hpp>

void XmlContainerConfig::setContainerType(
        XmlContainer::ContainerType type) 

Sets the type of container to be created. The default value is XmlContainer::NodeContainer. This value is ignored if the container already exists.

Parameters

type

Identifies the type of container to create. The container type must be one of the following values:

  • XmlContainer::NodeContainer

    Documents are broken down into their component nodes, and these nodes are stored individually in the container. This is the preferred container storage type.

  • XmlContainer::WholedocContainer

    Documents are stored intact; all white space and formatting is preserved.

Class

XmlContainerConfig

See Also

XmlContainerConfig Methods