TXMLDocument works on TForm, but not on TWebModule
Posted on 2012-04-09
I used a test program to make TXMLDocument work the way I wanted and to parse successfully a document.
When I tried to reproduce the same on a TWebModule, it compiled OK, but always failed when reference was made to the TXMLDocument. I tried it both as a component and as a class. I was using the same input file in both cases.
XMLDocument1 := TXMLDocument.Create(nil);
There are plenty of examples here and on the internet of similar usage. BTW, I am running Delphi 7 and Wndows XP. Is there something that I need to install, or suchlike.