Executes the transform using the input document specified by the URI and outputs the results to an System.Xml.XmlWriter.
- inputUri
- The URI of the input document.
- results
- The System.Xml.XmlWriter to which you want to output.
This method uses a default System.Xml.XmlUrlResolver with no user credentials to resolve the input document and any instances of the XSLT document() function found in the style sheet. If any of these resources are located on a network resource that requires authentication, use the overload that takes an System.Xml.XmlResolver as one of its arguments and specify an System.Xml.XmlResolver with the necessary credentials.
An System.Xml.XmlReader with default settings is used to load the input document. 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.Transform method.
This method does not support the xsl:strip-space element. If your compiled style sheet included the xsl:strip-space element, you must use the erload:System.Xml.Xsl.XslCompiledTransform.Transform overload which takes an System.Xml.XmlReader as the input argument.