XmlKnownDtds Enum

Definition

The XmlKnownDtds enumeration is used by the XmlPreloadedResolver and defines which well-known DTDs that the XmlPreloadedResolver recognizes.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum class XmlKnownDtds
[System.Flags]
public enum XmlKnownDtds
type XmlKnownDtds = 
Public Enum XmlKnownDtds
Inheritance
XmlKnownDtds
Attributes

Fields

All 65535

Specifies that the XmlPreloadedResolver will recognize all currently supported DTDs. This is the default behavior.

None 0

Specifies that the XmlPreloadedResolver will not recognize any of the predefined DTDs.

Rss091 2

Specifies that the XmlPreloadedResolver will recognize DTDs and entities that are defined in RSS 0.91.

Xhtml10 1

Specifies that the XmlPreloadedResolver will recognize DTDs and entities that are defined in XHTML 1.0.

Applies to