Omar Bennani wrote:
> This is very important when using TXMLDocument.  You
> CANNOT create a
> TXMLDocument like this:
> 
>      myXML:=TXMLDocument.Create(nil);
> 
> It will instantiate but it will NOT work.
> 
> Here's what I did to fix it...
> 
> dm:=TDataModule.Create(nil);
> myXML:=TXMLDocument.Create(dm);

Does TXMLDocument's owner need to be a data module? Could it be 
something else, like just a plain TComponent? What's special about 
TXMLDocument that it needs to have an owner?

-- 
Rob
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to