XmlEventReader::setReportEntityInfo

#include <DbXml.hpp>

virtual void XmlEventReader::setReportEntityInfo(bool value)

The events of type StartEntityReference and EndEntityReference are used to report the start and end of XML that was originally an entity reference in the XML text, but has since been expanded. These events, if available, are 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 information available. By default, these events are not reported.

Parameters

value

A value of true causes the XmlEventReader to include events of type StartEntityReference and EndEntityReference, if it is possible.

Class

XmlEventReader

See Also

XmlEventReader Methods