XmlManager::setDefaultContainerType

API Ref

#include <DbXml.hpp>

void XmlManager::setDefaultContainerType(XmlContainer::ContainerType type)

XmlContainer::ContainerType XmlManager::getDefaultContainerType()


Description: XmlManager::setDefaultContainerType

Sets the default type used for containers opened and created by this XmlManager object. If a form of XmlManager::createContainer or XmlManager::openContainer is used that takes a type argument, the settings provided using this method are ignored.

Parameters

type
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.

APIRef

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