Michel,
>It is still of a surprise that the CURSORTOXML() process is fast and that XMLTOCURSOR() is extremely slow for the same dataset.
To create the XML is a simple string operation.
To read the XML the XMLDOM parser is used, and with any significant amount of data the XMLDOM is just plain slow.