Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 28, 2012 04:57 PM by jbear123
Feb 28, 2012 12:44 PM|LINK
hi, thanks, no luck though. I'll keep trying different things
Feb 28, 2012 01:56 PM|LINK
Did u try the below code block (by replacing the namespace of xml u r getting) that I posted in an another thread of urs 'http://forums.asp.net/t/1772979.aspx/1?simple+select+node'. I have tested this block and it should work for you.
XmlNamespaceManager nsmgr = new XmlNamespaceManager(xmlDoc.NameTable);
var totalresults = xmlDoc.SelectSingleNode("//web:Website/web:Total", nsmgr).InnerText;
Feb 28, 2012 02:13 PM|LINK
Thanks, I think ive done it using your select single node code mixed with previous suggestions on this thread.
Feb 28, 2012 03:23 PM|LINK
Glad to know that finally you have got the solution. Will you share it here on the forum. It would facilitates
others users to find out the exact solution.
Feb 28, 2012 04:57 PM|LINK
sorry, scrap that, turns out it just hid the error message i was getting. ill make another post with the latest code