DtdProcessing

DtdProcessing enum

Specifies the options for processing DTDs. The DtdProcessing enumeration is used by the XmlReaderSettings class.

enum class DtdProcessing

Values

NameValueDescription
Prohibit0Specifies that when a DTD is encountered, an XmlException is thrown with a message that states that DTDs are prohibited. This is the default behavior.
Ignore1Causes the DOCTYPE element to be ignored. No DTD processing occurs, and the DTD/DOCTYPE is lost on output.
Parse2Used for parsing DTDs.

See Also