[Lazarus] Delphi compatible XML lib

Sergei Gorelkin sergei_gorelkin at mail.ru
Sun Sep 26 18:16:50 CEST 2010


Juha Manninen (gmail) пишет:
> On Sunday 26 September 2010 18:30:10 Michael Van Canneyt wrote:
>> It should not be hard to create a Delphi-compatible layer on top of it,
>> but honestly: I don't see why you would want to do that...
> 
> I am thinking how to improve the Delphi converter. Some projects fail in 
> conversion only because they use XML and the library interface is different.
> 
> The converter could change the code directly or use some compatibility layer. 
> The latter would even allow using the same source code for both Delphi and 
> Lazarus.
> 
FCL dom.pp unit and Delphi xmldom.pas have a large common part which differ only in type name
prefixes (TDOMNode <-> IDOMNode and so on).
Have a look at the WST project: it uses both libraries with a very small amount of glue code.


Regards,
Sergei




More information about the Lazarus mailing list