Hello,
I am importing a project from AX9 to AX3 and now I have to modify a class that I created for XML exporting.
xmlRecordList = xmlDoc.createElement2(#RecordList, #journal);
xmlRecordList.setAttribute(#gpais, #common);
xmlRecordList.setAttribute(#kls, #gpaisKls);
xmlSubject = xmlDoc.createElement2(#Subject, #journal);
xmlSubject.setAttribute(#Code, CompanyInfo::Find().goGPAISSubjectId);
xmlRecordList.appendChild(xmlSubject);
xmlRecords = xmlDoc.createElement2(#Records, #journal);
This is a part of the code from AX9 that I wrote, but there is no "createElement2()" method in AX3 how can I get a similar result?
my XML has to look like this:

Any idea how to get that last attribute in without it duplicating in other tags?
*This post is locked for comments
I have the same question (0)