xml & xsl transform

Feb 2 2004 4:23 AM
Hi i have my XML file c:\prd.xml 23 42 This is my XSL file:
absum
I MUST use javascript to evaluate values. when i open xml file with my browser it works fine. but when I use C# code to transform xml file i recieve exception from Javascript part this is my C# code: try { XslTransform xslt = new XslTransform(); xslt.Load(xslFile); XPathDocument mydata = new XPathDocument(xmlFile); XmlWriter writer = new XmlTextWriter(Console.Out); xslt.Transform(mydata,null,writer, null); } catch(XsltException ex) { Console.WriteLine(ex.Message ); } Please can anydody help me ???