XmlKnownDtds Enumeration

 

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.

Namespace:   System.Xml.Resolvers
Assembly:  System.Xml (in System.Xml.dll)

[FlagsAttribute]
public enum XmlKnownDtds

Member nameDescription
All

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

None

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

Rss091

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

Xhtml10

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

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Return to top
Show: