Quantcast
Channel: Microsoft Dynamics AX
Viewing all articles
Browse latest Browse all 101540

Forum Post: RE: Problem in reading the XML TAG in X++ AX 2012

$
0
0
Try the following code: static void XMLJob(Args _args) { #define.node('TrvPBSMaindataServiceCreateRequest') XmlDocument xmlDocument; XmlNode xmlInformationNode; XmlNodeList xmlInformationsNodeList; XmlNodeList xmlChildNodeList; int i; int j, k; str fileName = 'C:\\CreditCardImport.xml'; xmlDocument = xmlDocument::newFile(fileName); info(xmlDocument.documentElement().nodeName()); xmlInformationsNodeList = xmlDocument.documentElement().childNodes(); setPrefix("@SYS98689"); for ( i = 0; i %2', xmlInformationNode.nodeName(), xmlInformationNode.innerText())); } } } }

Viewing all articles
Browse latest Browse all 101540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>