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())); } } } }
↧