In NAV 2017 I want to import xml file from third party source. Some tags in source file has the same tag in variable positions. For example:
Variant 1
<x>
...subtags
</x>
<invoicee>
... some subtags
</invoicee>
<y>
...subtags
</y>
Variant 2
<x>
...subtags
</x>
<y>
...subtags
</y>
<invoicee>
... some subtags
</invoicee>
How is it possible to do with WMLPort?
Thanks in advance
0
Comments
I am able to use try structure to avoid error stop, but I want to find a solution to don't use two XMLPorts (one for each variant), but it seems to be a bad solution in case of more variants.