The System.Xml.Xsl.XslCompiledTransform class supports the XSLT 1.0 syntax. The XSLT style sheet must use the http://www.w3.org/1999/XSL/Transform namespace.
This method has the following behavior:
An System.Xml.XmlUrlResolver with no user credentials is used to resolve the style sheet URI, and process any xsl:import or xsl:include elements.
An System.Xml.XmlReader with default settings is used to load the style sheet. DTD processing is disabled on the System.Xml.XmlReader. If you require DTD processing, create an System.Xml.XmlReader with this feature enabled, and pass it to the erload:System.Xml.Xsl.XslCompiledTransform.Load method.
The document() function is disabled.
Embedded scripts are not supported.
You can use the XslCompiledTransform.Load(string, XsltSettings, System.Xml.XmlResolver) overload to specify an System.Xml.XmlResolver with the necessary authentication credentials, or to specify different XSLT settings.