CALCFIELDS("Data (received)"); IF "Data (received)".HASVALUE THEN BEGIN IF NOT ISCLEAR(XMLDocument) THEN CLEAR(XMLDocument); CREATE(XMLDocument); "Data (received)".CREATEINSTREAM(InS); XMLDocument.load(InS); END;I got the DTD file, so it would be possible to save it into a specific folder, save the xml file into the same folder and load it from there. But I don't want to generate so much HD traffic and the user will probably work on a terminal server. User rights, file management, device capacity,... that wouldn't be a good solution.
Answers
But now I have another problem. I get the following error message: But if I understand correctly there is only one root element:
Hope this helps
Thomas
In DOMDocument v6 you have to set also In DOMDocument below v6 you have to set also So, XMLDocument.load is working then. The error message is generated by a subsequent process.