i've tried using the function xmltocursor, i immeditately get the error XML Parse error: Invalid at the top level of the document. Line 1, Position 1. As i didn't know what was wrong with the XML, i created a new xml from a cursor using the cursortoxml function, worked fine,