Discussions
Activity
Best Of...
Sign In
·
Register
Home
›
NAV/Navision Classic Client
Howdy, Stranger!
It looks like you're new here. Sign in or register to get started.
Sign In
Register
Quick Links
Categories
Recent Discussions
Activity
Best Of...
Unanswered
Categories
All Categories
73
General
73
Announcements
66.6K
Microsoft Dynamics NAV
18.6K
NAV Three Tier
38.4K
NAV/Navision Classic Client
3.6K
Navision Attain
2.4K
Navision Financials
115
Navision DOS
854
Navision e-Commerce
1K
NAV Tips & Tricks
772
NAV Dutch speaking only
615
NAV Courses, Exams & Certification
2K
Microsoft Dynamics-Other
1.5K
Dynamics AX
295
Dynamics CRM
109
Dynamics GP
10
Dynamics SL
1.5K
Other
993
SQL General
384
SQL Performance
34
SQL Tips & Tricks
34
Design Patterns (General & Best Practices)
Architectural Patterns
10
Design Patterns
5
Implementation Patterns
53
3rd Party Products, Services & Events
1.7K
General
1.1K
General Chat
1.6K
Website
79
Testing
1.2K
Download section
23
How Tos section
259
Feedback
12
NAV TechDays 2013 Sessions
13
NAV TechDays 2012 Sessions
Need sample code to traverse records using XML DOM
ajaybabuCh
Member
Posts:
208
2009-01-13
edited 2009-01-13
in
NAV/Navision Classic Client
Hi
Can anybody give me the code to traversse through records in an xml format using XML DOM
Ajay
0
Comments
garak
Member
Posts:
3,263
2009-01-13
Take a look into the Cu that has XML in his name (line XML DOM Management) ;-)
Do you make it right, it works too!
0
ajaybabuCh
Member
Posts:
208
2009-01-13
hi garak
can you give me some link for this.
I couldn't find proper example for my scenario.
If I have number of records in my XML , how to read those records one by one using XML DOM
Ajay
0
garak
Member
Posts:
3,263
2009-01-13
Did you take a look into the CU and how this is called from oter CU?
Do you make it right, it works too!
0
ajaybabuCh
Member
Posts:
208
2009-01-13
Yes, But I am not really clear how to use that
Assume that I have the following format of xml , which contains all the sales header records
<HeaderLines>
<SalesOrder>
<No.>SO100</No.>
<SelltoCustomerNo>10000</SelltoCustomerNo>
<CustomerName>Selangorian Ltd.</CustomerName>
</SalesOrder>
<SalesOrder>
<No.>SO101</No.>
<SelltoCustomerNo>10000</SelltoCustomerNo>
<CustomerName>Selangorian Ltd.</CustomerName>
</SalesOrder>
<SalesOrder>
<No.>SO102</No.>
<SelltoCustomerNo>10000</SelltoCustomerNo>
<CustomerName>Selangorian Ltd.</CustomerName>
</SalesOrder>
<SalesOrder>
<No.>SO103</No.>
<SelltoCustomerNo>10000</SelltoCustomerNo>
<CustomerName>Selangorian Ltd.</CustomerName>
</SalesOrder>
</HeaderLines>
I would like to load this through XMLDOM and want to traverse each order.
can I have some sample code for this
Ajay
0
DenSter
Member
Posts:
8,304
2009-01-13
Take a look at the Biztalk codeunits in a standard 3.7 database. XML is now imported using XMLPorts, so XMLDOM is not used very much anymore. The old versions have excellent examples of how to use XMLDOM.
Daniel Rimmelzwaan
RIS Plus, LLC
MVP - Business Apps
0
Sign In
or
Register
to comment.
Comments
can you give me some link for this.
I couldn't find proper example for my scenario.
If I have number of records in my XML , how to read those records one by one using XML DOM
Assume that I have the following format of xml , which contains all the sales header records
<HeaderLines>
<SalesOrder>
<No.>SO100</No.>
<SelltoCustomerNo>10000</SelltoCustomerNo>
<CustomerName>Selangorian Ltd.</CustomerName>
</SalesOrder>
<SalesOrder>
<No.>SO101</No.>
<SelltoCustomerNo>10000</SelltoCustomerNo>
<CustomerName>Selangorian Ltd.</CustomerName>
</SalesOrder>
<SalesOrder>
<No.>SO102</No.>
<SelltoCustomerNo>10000</SelltoCustomerNo>
<CustomerName>Selangorian Ltd.</CustomerName>
</SalesOrder>
<SalesOrder>
<No.>SO103</No.>
<SelltoCustomerNo>10000</SelltoCustomerNo>
<CustomerName>Selangorian Ltd.</CustomerName>
</SalesOrder>
</HeaderLines>
I would like to load this through XMLDOM and want to traverse each order.
can I have some sample code for this
RIS Plus, LLC
MVP - Business Apps