System.Xml.XmlParserContext.InternalSubset Property

Gets or sets the internal DTD subset.

Syntax

public string InternalSubset { get; set; }

Value

A string specifying the internal subset.

Remarks

This property, along with XmlParserContext.DocTypeName, XmlParserContext.PublicId, and XmlParserContext.SystemId, provides all the document type declaration information. It is used to find and load the necessary DTD information so that you get all the default attributes and entities defined in the DTD.

The DTD is used for entity resolution, not for document validation.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0