XslCompiledTransform.Transform Method (IXPathNavigable, XsltArgumentList, XmlWriter, XmlResolver)
Executes the transform by using the input document that is specified by the IXPathNavigable object and outputs the results to an XmlWriter. The XsltArgumentList provides additional run-time arguments and the XmlResolver resolves the XSLT document() function.
Assembly: System.Xml (in System.Xml.dll)
public void Transform( IXPathNavigable input, XsltArgumentList arguments, XmlWriter results, XmlResolver documentResolver )
The document to transform that is specified by the IXPathNavigable object.
The XmlWriter to which you want to output.
If the style sheet contains an xsl:output element, you should create the XmlWriter by using the XmlWriterSettings object that is returned from the OutputSettings property. This ensures that the XmlWriter has the correct output settings.
Available since 2.0