using System; using System.Xml.Xsl; public class Transform { public static void Main(string [] args) { string source = args[0]; string stylesheet = args[1]; string destination = args[2]; XslTransform transform = new XslTransform(); transform.Load(stylesheet); // for .NET v 1.0 //transform.Transform(source, destination); // for .NET v 1.1 transform.Transform(source, destination, null); } }