Sets the System.Xml.XmlResolver used to resolve external resources when the erload:System.Xml.Xsl.XslTransform.Transform method is called.
It does not have getter.
The System.Xml.Xsl.XslTransform class is obsolete in the .NET Framework version 2.0. The System.Xml.Xsl.XslCompiledTransform class is the new XSLT processor. For more information, see Using the XslCompiledTransform Class and Migrating From the XslTransform Class.
In version 1.1 of the .NET Framework, the trust level of the application determines the default behavior:
Fully trusted code: A default System.Xml.XmlUrlResolver with no user credentials is used to resolve the document() function. If authentication is required to access the external resource, use this property to specify an System.Xml.XmlResolver with the necessary credentials.
Semi-trusted code: The property is set to null, which means the document() function is not resolved. Because full trust is required to specify an System.Xml.XmlResolver, this property also cannot be set.
This resolver is used when the XSLT document() function is invoked. It is not used to resolve xsl:import and xsl:include elements referenced in the style sheet. To specify an System.Xml.XmlResolver to use to resolve xsl:import and xsl:include elements referenced in the style sheet, use the erload:System.Xml.Xsl.XslTransform.Load overload, which takes an System.Xml.XmlResolver as one of its arguments.
This property is obsolete in version 1.1 of the .NET Framework. Specifying an System.Xml.XmlResolver using the erload:System.Xml.Xsl.XslTransform.Transform method is the recommended practice. In this case, the System.Xml.XmlResolver is not cached after the erload:System.Xml.Xsl.XslTransform.Transform method completes.