Mono Class Library: System.Xml.XmlTextReader Overview | MembersSystem.Xml.XmlTextReader.XmlResolver Property |
Sets the System.Xml.XmlResolver used for resolving DTD references. [Edit]
|
The System.Xml.XmlResolver to use for resolving DTD references.
If this property is not set, the current instance uses a new instance of the System.Xml.XmlUrlResolver class with default credentials. If this property is set to null, any external DTD or entities encountered by the reader are not resolved.
[Edit]
This property is write-only.
The System.Xml.XmlResolver is used to resolve the location of the file loaded into the reader and also to resolve DTD references. For example, if the XML included the DOCTYPE declaration, <!DOCTYPE book SYSTEM book.dtd>, the reader resolves this external file and ensures that the DTD is well-formed. System.Xml.XmlTextReader does not use the DTD for validation.
This property can be changed at any time and takes affect on the next read operation.
[Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0