> It would really help if you'd say in what way it fails... can you
provide a short but complete program (and sample file) which
demonstrates the problem?
See http://www.pobox.com/~skeet/csharp/complete.html for more
information.
Jon
Method that works:
ProxyClass GetMess = new ProxyClass();
System.Xml.XmlDocument xmlIn = new XmlDocument();
System.Xml.XmlDocument xmlOut = new XmlDocument();
String str;
str = "build the string";(packing the xml into a string")
xmlIn.LoadXml(str);
xmlOut = GetMess.processMessage(xmlIn);
******************************************
Method that dont work:( error: object not set to the instance of an object
on :xmlOut = GetMess.processMessage(xmlIn);)
ProxyClass GetMess = new ProxyClass();
System.Xml.XmlDocument xmlIn = new XmlDocument();
System.Xml.XmlDocument xmlOut = new XmlDocument();
XmlTextReader reader = new XmlTextReader("xml file");
xmlIn.Load(reader);
xmlOut = GetMess.processMessage(xmlIn); (throughs exception described
earlier here)
Many thanks
JJ