Skip to Content
0
Former Member
Jun 15, 2011 at 12:32 AM

Complex Data Types and Extra Container Nodes

33 Views

In a lot of the examples I see online for repeating record based data, mainly when converting flat file formats to XML, I notice that people often insert an extra node between the repeating record node and the record fields.

The screenshot of Example 1 linked below illustrates this...

http://img706.imageshack.us/img706/3391/datatypeexample1.jpg

The screenshot of Example 2 linked below is essentially the same, without the additional node under the record node...

http://img339.imageshack.us/img339/4669/datatypeexample2.jpg

I'm curious why people add the extra node. Does it make mapping easier in certain situations? I see it done quite a lot.