System.Xml.XmlUrlResolver Class

Resolves external XML resources named by a Uniform Resource Identifier (URI).

See Also: XmlUrlResolver Members

Syntax

public class XmlUrlResolver : XmlResolver

Remarks

XmlUrlResolver is used to resolve external XML resources such as entities, document type definitions (DTDs) or schemas. It is also used to process include and import elements found in Extensible StyleSheet Language (XSL) style sheets or XML Schema definition language (XSD) schemas.

XmlUrlResolver is the default resolver for all classes in the System.Xml namespace. It supports the file:// and http:// protocols and requests from the System.Net.WebRequest class.

Note:

System.Xml.XmlUrlResolver objects can contain sensitive information such as user credentials. You should be careful when you cache System.Xml.XmlUrlResolver objects and should not pass System.Xml.XmlUrlResolver objects to an untrusted component.

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

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