Guest User

Untitled

a guest
Jan 16th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <productList xmlns="http://tempuri.org/po.xsd" versionDate="2018-01-01">
  3. <productIndex EAN="123123123"> <!-- some index code in the EA -->
  4. <name>ASDASD</name> <!-- the frist column data -->
  5. <types n="1"> <!-- from the second column beyond, the field maybe have more than 1 data separeted by comma, so I need to create sub-nodes to them for "n" equal the numbers of that kind information -->
  6. <type1>Prod</type1>
  7. </types>
  8. <locations n="2">
  9. <location1>B1</location1>
  10. <location2>C3</location2>
  11. </locations>
  12. </productIndex>
  13. <productIndex EAN="321312312">
  14. <name>WASD</name>
  15. <types n="2"> <!-- this one have more itens in this field -->
  16. <type1>Prod</type1>
  17. <type2>Dimp</type2> <!-- each new "sub-node" following the total of the node "types"-->
  18. </types>
  19. <locations n="1">
  20. <location1>B7</location1>
  21. </locations>
  22. </productIndex>
Add Comment
Please, Sign In to add comment