The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
XmlTextReader::DtdProcessing Property
.NET Framework (current version)
Gets or sets the DtdProcessing enumeration.
Assembly: System.Xml (in System.Xml.dll)
public: property DtdProcessing DtdProcessing { DtdProcessing get(); void set(DtdProcessing value); }
The DtdProcessing enumeration contains the Prohibit, Ignore, and Parse enumerators. Parse is the default behavior. The DtdProcessing property replaces the ProhibitDTD property and adds the ability to ignore the DOCTYPE element.
Important |
|---|
If the DtdProcessing property is set to DtdProcessing::Ignore, the XmlTextReader will not report the DTDs. This means that the DTD/DOCTYPE will be lost on output. |
.NET Framework
Available since 4.0
Available since 4.0
Show:
