The System.Xml.Xsl.XslTransform class is obsolete in the .NET Framework version 2.0. The System.Xml.Xsl.XslCompiledTransform class is the new XSLT processor. For more information, see Using the XslCompiledTransform Class and Migrating From the XslTransform Class.
System.Xml.Xsl.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.
This method is obsolete in version 1.1 of the .NET Framework. The setting of the XslTransform.XmlResolver property determines how the XSLT document() function is resolved. The recommended practice is to use the erload:System.Xml.Xsl.XslTransform.Transform method which takes an System.Xml.XmlResolver object as one of its arguments.