Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: Read XML file through x++ code in ax09

$
0
0

It should be really easy to identify the problem using the debugger.

Which line produces the error?

I assume it's

xmlRecordList = nodeNote.childNodes();

which means that there is not element with the name 'name', so the getNamedElement() functions returns null (no object) and you can't access childNodes() method of an uninstatiated object.

Check your XML structure and write your code accordingly.

www.w3schools.com/.../default.asp

msdn.microsoft.com/.../System.Xml%28v=vs.110%29.aspx

msdn.microsoft.com/.../system.xml.xmldocument%28v=vs.110%29.aspx


Viewing all articles
Browse latest Browse all 175888

Trending Articles



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