XML parser – library MetaTrader 5
A library for parsing of XML documents. Pure MQL5, it doesn’t uses any external libraries. To use the library, just include it: #include <Xml\XmlBase.mqh> Example: #include <Xml\XmlBase.mqh> CXmlDocument doc; void OnStart() { string file = “File.xml”; string err; if (doc.CreateFromText(file,err)) { CXmlElement * xmlItem = doc.FDocumentElement.GetChild(0); for (int i=0; i<xmlItem.GetChildCount(); i++) if (xmlItem.GetChild(i).GetName() == “LAYER”) … Read more