Thanks for the quick reply, on a sunday to boot - but sorry, using a reference didn't help.
I did some more debugging and found that the root element contained six children - which is correct -
and each of the children had the name "root" (which is NOT correct).
Also, the children had an invalid parent pointer (0xdcdcdc.. or something, indicating it was not initialized),
and the children did not have any children themselves, which is also not correct.
The xml was generated by a vendor-supplied tool which might not be totally bug-free, also it loads into your tool TXML without a snag and shows everything in the correct way.
What could I be doing wrong?