Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here
DynDeveloper.com

DynDeveloper.com

Table Edits Forum Articles
Table Edits 0 Table Edits 0 Table Edits 0
Sign Up Now!Log In
BethanyW 12/18/2007 5:22:00 PM

Iterating through an XML file

Given the XML structure:

<employees>
<employee>
 <firstname>John</firstname>
 <lastname>Doe</lastname>
</employee>
<employee>
 <firstname>James</firstname>
 <lastname>Buck</lastname>
</employee>
<employees>

 

 

I sometimes need to loop (iterate) through the file and gather the first/last names

Here is a piece of code that will do that

 

Version: Unknown or N/A
Section: Off Topic








Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables