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 )
Parameters
- input
-
Type:
System.Xml.XPath::IXPathNavigable^
The document to transform that is specified by the IXPathNavigable object.
- arguments
-
Type:
System.Xml.Xsl::XsltArgumentList^
Argument list as XsltArgumentList.
- results
-
Type:
System.Xml::XmlWriter^
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.
- documentResolver
-
Type:
System.Xml::XmlResolver^
The XmlResolver used to resolve the XSLT document() function. If this is null, the document() function is not resolved.
Available since 2.0