I wanted to try a windows forms style XSLT transform , which its code given at :
This is my first C# experience and it failed. Output xml file is not produced, yet no error is given.
When I build I get no error, but this warning:
System.Xml.Xsl.XslTransform.Transform(System.Xml.X Path.IXPathNavigable, System.Xml.Xsl.XsltArgumentList, System.Xml.XmlWriter)' is obsolete: 'You should pass XmlResolver to Transform() method'
sourceDoc and xsltDoc variables are not bind to appropriate text boxes either, how does this code get appropriate files?
EDIT: I made it work, now it has 5 warnings but the program works.
Here are the two lines I added just before XPathDocument definitions in order to make it work:
XmlTextReader sourceDoc = new XmlTextReader(txtSource.Text);
XmlTextReader xsltDoc = new XmlTextReader(txtXslt.Text);
What is the reason, did the author posted in her site uncomplete code or it's about ver 1.0 and ver 1.1 incompability issue?