XslTransform.Transform Method (XPathNavigator, XsltArgumentList, Stream)
Assembly: System.Xml (in System.Xml.dll)
An XsltArgumentList containing the namespace-qualified arguments used as input to the transformation.
The stream to which you want to output.
The XslTransform class is obsolete in the .NET Framework version 2.0. The XslCompiledTransform class is the new XSLT processor. For more information, see Using the XslCompiledTransform Class and Migrating From the XslTransform Class.
XslTransform supports the XSLT 1.0 syntax. The XSLT style sheet must include the namespace declaration xmlns:xsl= http://www.w3.org/1999/XSL/Transform.
The args are matched with the xsl:param elements defined in the style sheet. The transformation selections apply to the document as a whole. In other words, if the current node is set on a node tree other than the document root node, this does not prevent the transformation process from accessing all nodes in the loaded document. After the transformation has been performed, the XPathNavigator remains in its original state. This means that the node, which is current before the transformation process, remains the current node after the method has been called.
See Outputs from an XslTransform for specifics on which xsl:output attributes are supported.
Available since 1.1