zorba::XmlDataManager::ParseOptions#include <zorba/xmldatamanager.h> The ParseOptions class stores various properties that affect how a document is parsed. An instance of this class is passed as input to the parseXML function.Private Attributes
Public Functions
Private AttributestheDtdValidationbool theDtdValidation
theExternalEntityProcessingbool theExternalEntityProcessing
Public FunctionsisDtdValidationEnabledbool isDtdValidationEnabled() const Returns true if dtd validation is enabled, false otherwise.
isExternalEntityProcessingEnabledbool isExternalEntityProcessingEnabled() const Returns true if external entity processig is enabled, false otherwise.
ParseOptions ParseOptions()
setDtdValidationvoid setDtdValidation(bool aEnable) Set the property enableDtd, which specifies whether the document should be validated against its associated DTD (if any).
setExternalEntityProcessingvoid setExternalEntityProcessing(bool aEnable) Set the property to enable or disable processing of XML external entities. If the option is enabled, the input must conform to the syntax _extParsedEnt_ (production [78] in XML 1.0); and since there is no DTD, the content must include no entity references. The result of the function call is a sequence of nodes. ~ParseOptions ~ParseOptions()
|