XmlEventReader::setExpandEntities |
![]() ![]() |
#include <DbXml.hpp>virtual void XmlEventReader::setExpandEntities(bool value)
virtual bool XmlEventReader::getExpandEntities() const
By default, entities are expanded when XML is parsed, and those entities are reported as their expanded events. If the XmlEventReader::getReportEntityInfo method returns true, it is possible to suppress the expanded events, receiving just the StartEntityReference and EndEntityReference events associated with the original entity reference. This can be useful for serialization of XML that includes such expanded entities. It allows the entity references to be restored during serialization. Most of the internal implementations of XmlEventReader have this Capability. By default, expanded events are reported.
Sets whether the XmlEventReader should include events associated with expanded entities.
Gets whether the XmlEventReader will include events associated with expanded entities. Default is true.
Parameters
![]() ![]() |
Copyright (c) 1996-2009 Oracle. All rights reserved.