Check out example codes for "building a config object in XML C#". It will help you in understanding the concepts better.

Code Example 1

using system.Xml.Linq

public void RetrieveDataFromXml(){
	XElement element = XElement.Load("<your-xml-document>.xml");
    IEnumerable<XElement> config = element.Elements();
}

Learn ReactJs, React Native from akashmittal.com