Last post May 05, 2011 04:14 AM by shashankgwl
May 04, 2011 09:44 AM|Jennica|LINK
I have access to an external XML provided by another company. It's accessed throguh a link that looks like this 'XMLresultat.asp?produktid=8'.
Does anyone have any tips for how i should retrieve this data the best way? Using XmlTextReader I'm not really understanding what I find from it and the XmlDocument is gving me an error ('System.Xml.XmlException: Data at the root level is invalid. Line 1,
A link to a tutorial or some examples would be greatly appreciated, i haven't really been working with XML before.
May 04, 2011 11:03 AM|shashankgwl|LINK
You can get the xml using HttpWebRequest class, once u get d xml from the URL u can then put it to processing.
May 05, 2011 03:54 AM|Jennica|LINK
Great, this webrequest works as a charm. I combined it with a streamreader and am getting all the results i wish.. now i just have to figure out how to process it but that's a different question :D THank you!
May 05, 2011 04:14 AM|shashankgwl|LINK
Your welcome Jen