XmlDocument oDoc = new XmlDocument(); XslTransform oTransfer = new XslTransform(); oDoc.LoadXml(txtXMLFileName.Text); MemoryStream ms = new MemoryStream(); XmlTextWriter output = new XmlTextWriter(ms, Encoding.UTF8); oTransfer.Load(txtXSLFileName.Text); oTransfer.Transform(oDoc, null, output); output.Flush(); ms.Position = 0; StreamReader sr = new StreamReader(ms); txtOutput.Text = sr.ReadToEnd();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)