[Solved] Filling a ViewList from an xml file [closed]

Have you looked at How does one parse XML files?, http://msdn.microsoft.com/en-us/library/cc189056%28v=vs.95%29.aspx, http://social.msdn.microsoft.com/Forums/en-US/xmlandnetfx/thread/efcb9fe3-8d1a-47b0-a35e-8415ac1a93bd/ or http://www.codeproject.com/Articles/7718/Using-XML-in-C-in-the-simplest-way ? At least one of those should prove useful. 1 solved Filling a ViewList from an xml file [closed]

[Solved] System.Xml.XmlException: Unexpected XML declaration. The XML declaration must be the first

Make sure your <?xml tag is the first thing in the document (and that it doesn’t have anything before that, this includes whitespace). You can have <?xml only once per document, so if you have a large chunk of XML and you have this tag repeated somewhere down the lines your document won’t be valid. … Read more