Hi Everyone,
Need urgent help.
I want to read XML though X in D365.
I just want to read 3 values from XML which are highlighted in below screenshot.
Kindly request you to help me on this.
I tried codes from different blogs but did not find any matching XML with my XML.
Please tell me what should I write in my code after validating XML.
public static void readXML(str _xmlMsg)
{
XmlDocument xmlDoc;
XMLParseError xmlError;
xmlDoc = new XmlDocument();
xmlDoc.loadXml(_xmlMsg);
// Verify XML Document Structure
xmlError = xmlDoc.parseError();
if(xmlError && xmlError.errorCode() != 0)
{
throw error(strFmt("XML Error: %1", xmlError.reason()));
}
}
