Load Xml Document - CSharp System.Xml

CSharp examples for System.Xml:XML Document

Description

Load Xml Document

Demo Code


using System.Xml;
using System.Collections.Generic;
using System;/*  ww  w.  jav  a  2 s. c o  m*/

public class Main{
        public static XmlDocument LoadXmlDocument(string xmlFilePath) {
            XmlDocument xml = new XmlDocument();
            xml.Load(xmlFilePath);
            return xml;
        }
}

Related Tutorials