Category: C#

How to Parse an XML string or File

using System.Xml;


	    try
            {
                XmlDocument doc = new XmlDocument();
                doc.LoadXml("xml");
                doc.Save(@"c:counterparty.xml");
            }
            catch (Exception ex) {

                MessageBox.Show(ex.Message);
            }


 

Tags:

C#

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.