XML C# Tutorial

using System;
using System.Text;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Xml.Xsl;
using System.Xml;
public class MainClass {
    public static void Main(){
        XslCompiledTransform transform = new XslCompiledTransform();
        transform.Load("orders.xslt");
        StringBuilder htmlContent = new StringBuilder();
        XmlWriter results = XmlWriter.Create(htmlContent);
        transform.Transform("orders.xml", results);
        Console.WriteLine(htmlContent.ToString());
    }
}