Hi,

What kind of XML file are you thinking of?
To read a custom XML file you can use the XmlDocument and XmlNode classes 
provided in Ax. See small example below for looping through an xml file:

XmlDocument                   xmlDoc;
XmlNode                             xmlRootNode;
XmlNode                             xmlElement;
int                                           elementIdx;
;

xmlDoc = XmlDocument::newBlank();
xmlDoc.load('c:\test.xml');

xmlRootNode = xmlDoc.documentElement();
for(elementIdx=0;elementIdx<xmlRootNode.childNodes().length();elementIdx++)
{
                xmlElement = xmlRootNode.childNodes().item(elementIdx);
info(xmlElement.name());
}

Regards,
Anders Sorensen


This posting is provided "AS IS" with no warranties, and confers no rights.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of suneel babu
Sent: 24. april 2008 06:29
To: Development; Axapta Knowledge village
Subject: [Axapta-Knowledge-Village] How to Import XMl file to Ax


Hi All.,

     I want to know process of "importing XML file to Ax".

Regards.,
        Suneel.

________________________________
Coolhotmail : Board of the same old Email ID's? Get a unique one here. Try it 
now!<http://www.ideacellular.com/IDEA.portal>



[Non-text portions of this message have been removed]

Reply via email to