Posted By

victorboba on 12/04/09


Tagged

xslt xml transform


Versions (?)

How to use XSLT and C# to transform XML


 / Published in: C#
 

  1. // Load the style sheet.
  2. XslCompiledTransform xslt = new XslCompiledTransform();
  3. xslt.Load("output.xsl");
  4.  
  5. // Execute the transform and output the results to a file.
  6. xslt.Transform("books.xml", "books.html");

Report this snippet  

You need to login to post a comment.