Mega Code Archive

 
Categories / C# Tutorial / XML
 

XSLT Transformation

using System; using System.Xml; using System.Xml.Xsl; using System.Collections.Generic; using System.Text;     class Program     {         static void Main(string[] args)         {             XslCompiledTransform xct = new XslCompiledTransform();             xct.Load("itemsTransform.xslt");             xct.Transform("items.xml", "items.html");                                  }     }