XmlEventReader::needsEntityEscape |
#include <DbXml.hpp>virtual bool XmlEventReader::needsEntityEscape(int index = 0) const
If the current event is Characters, and XmlEventReader::hasEntityEscapeInfo is true, returns whether the current text string requires escaping of entities for XML serialization.
If the current event is StartElement, and XmlEventReader::hasEntityEscapeInfo is true, returns whether the attribute value specified by the index parameter requires escaping of entities for XML serialization.
The XmlEventReader::needsEntityEscape method may fail and throw XmlException, encapsulating one of the following non-zero errors:
Copyright (c) 1996,2007 Oracle. All rights reserved.