![]() |
#1 |
Участник
|
bojensen: Reading Selected Node in XML – Dynamics AX2012 | Santosh Ramamurthy AX Blog
Источник: http://blogs.bojensen.eu/?p=4770
============== Case Study: Below a sample job is illustrated to read selected (multiple) nodes from a given XML. private static void SR_ReadSelectedNode_XML(Filename fileName) { #define.node('INFORMATION//ROWS/ROW') XmlDocument xmlDocument; XmlNode xmlInformationNode; XmlNodeList xmlInformationsNodeList; XmlNodeList xmlChildNodeList; int i; int j; fileName = @'C:\Projects\ReadNode.xml'; xmlDocument = xmlDocument::newFile(fileName); xmlInformationsNodeList = xmlDocument.documentElement() .selectNodes(#node); setPrefix("@SYS98689"); for ( i = 0; i < xmlInformationsNodeList.length(); […] Источник: http://blogs.bojensen.eu/?p=4770
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|