XmlReaderSettings.DtdProcessing Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the DtdProcessing enumeration.
Assembly: System.Xml (in System.Xml.dll)
The DtdProcessing enumeration contains the Prohibit, Ignore, and Parse enumerators. Prohibit is the default behavior. This enumeration is set on the DtdProcessing property. In the .NET Framework, the DtdProcessing property replaces the ProhibitDTD property and adds the ability to ignore the DOCTYPE element.
Important Note: |
|---|
If the DtdProcessing property is set to DtdProcessing.Ignore, the XmlReader will not report the DTDs. This means that the DTD/DOCTYPE will be lost on output. |
Important Note: