Name

XmlResolver

Synopsis

This class resolves external resources according to their URIs. This class is used to retrieve an external DTD or Schema in XML documents, and also obtains resources from imported stylesheets (<xsl:import>) and included files (<xml:include>). This abstract class is implemented by XmlUrlResolver.

public abstract class XmlResolver {
// Protected Constructors
   protected method XmlResolver();  
// Public Instance Properties
   public abstract field ICredentials Credentials{set; } 
// Public Instance Methods
   public abstract method object GetEntity(Uri absoluteUri, 
        string role, Type ofObjectToReturn);  
   public abstract method Uri ResolveUri(Uri baseUri, 
        string relativeUri);  
}

Subclasses

XmlUrlResolver

Passed To

XmlDocument.XmlResolver, XmlTextReader.XmlResolver, XmlValidatingReader.XmlResolver, System.Xml.Xsl.XslTransform.{Load(), XmlResolver}

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.