Hi,
this is the 3rd mono-related error I found in one ~500 line web project of
mine, and it's still not working :)
I have a well-formatted xml file, and i'm loading it into an XmlDocument:
XmlDocument _x = new XmlDocument();
_x.LoadXml(xml);
on Ms.net 2.0/3.5, it's working like this:
string _total = _x.SelectSingleNode("/response/totalresults").InnerText;
on Mono, I needed to write a workaround:
XmlNode total = _x.SelectSingleNode("//totalresults");
string _total = total.InnerText;
on Mono, SelectSingleNode simply returns null if it gets a full xpath, but
works if it's a global search pattern. Why?
thanks,
b.
üdvözlettel
with regards
Kardos Bálint
_______________________________________
http://skaelede.hu 10 (0xA) év a magyar weben
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list