S
ssouthwe
Guest
I'm trying to figure out whether it's possible to use a dataset's read-xml() method to read in some XML automatically, or if this situation will be yet another "roll-your-own" solution. Here's what the XML looks like: ... ... The above is the XML format that I'm given. I don't have a choice to make them change it to fit ABL constraints. If I define temp-tables for MainTable and SubItem, I can get read-xml() to populate MainTable, but I can't get it to work for the SubItem temp-table unless I define a fake SubItems temp-table and define a data-relation between my real table and the fake one. Is there a way to use xpath notation or something like that to give ABL the clue of how my child records are situated? define temp-table tt-subitem xml-node-name "SubItems/SubItem" ...
Continue reading...
Continue reading...