Easy XML question (when you know it!)
Very easy for those that know....
I have an XML document and an XSLT document and I'd like to transform them. I've been doing this in XML Spy (a seperate application and it's working) now I'm moving the code into C#... something like this?
// The files...
string sXmlPath = @"C:\aaa\atftestfileOk.xml"; // XML File with data
string sXslPath = @"C:\aaa\atf_to_dataset.xml"; // XSLT File
XslTransform xslt = new XslTransform(); // transform object
xslt.Transform(sXmlPath, sXslPath, null); // INCORRECT ! WHAT GOES HERE....?
I'd like to output to a text file (or even the console, I'd just like to see the results).
Thanks, Tim