why not libxml2
-----原始邮件-----
发件人:Sergei Gorelkin <[EMAIL PROTECTED]>
发送时间:2007/07/05 09:53:56
收件人:lazarus@miraclec.com
抄送:
主题:Re: [lazarus] Working with XML: crosscompatibility
Thursday, July 05, 2007, 3:41:01 AM, Luiz wrote:
LAPC> Alvise Nicoletti wrote:
>> Luiz Americo Pereira Camara ha scritto:
>>> Alvise Nicoletti wrote:
>>>> Hi...
>>>>
>>>> I have to parse xml both with Lazarus on linux (server) and Delphi
>>>> on Windows (client).
>>>>
>>>> Actually, with Lazarus, I'm using the DOM, ReadXML, WriteXML units.
>>>>
>>>> Is there something that I can use in Delphi with the same code? Or,
>>>> otherwise, is there some XML component compatible for both Delphi
>>>> and Lazarus?
>>>>
>>>
>>> Some time ago i ported the fpc dom unit to delphi. It was just a
>>> matter of changing the places of const sections, no change was made
>>> at all, if i remenber well. I can send to you but is a bit outdated.
>>> A better option is to try to compile the most recent fpc dom version,
>>> probably will be easy.
>>>
>>> Luiz
>>>
>>>
>> Hi, can you give me some tips about that cross compilation thing ?
>>
> It seems is not more necessary. See Sergei message.
> Just get the source from svn or fpc 2.1.4 and compile the units with Delphi
LAPC> Luiz
Unfortunately, in my message I forgot about avl_tree.pp unit upon
which XML package is dependent. I've patched it in order to compile
with Delphi, but since this patch is somewhat not directly related
to FPC development, I had not sent it out together with other patches.
I attach it here for the sake of completeness (to be applied from
packages/fcl-base/src/inc), but don't include it in SVN - it will
break 64-bit platforms.
--
Best regards,
Sergei [EMAIL PROTECTED]>
21CN企业邮箱买二送一行动开始啦!
快来免费注册竞价广告帐户,免费投放邮箱广告