Which library for XML files in a Delphi Cross-platform application?
I'm writing a FireMonkey application which must run in Windows as well in OSX. Until now I've used MSXML for my Windows apps, but of cou开发者_StackOverflow中文版rse this library is not compatible with OSX. So the question is, does Delphi XE2 include any XML library compatible with OSX, or is there a third-party XML library compatible with OSX?
In unit Xml.XMLDoc;
you have a TXMLDocument;
If you choose DOMVendor := ADOM XML v4
, it's available for Windows and OSX.
It's directly available from the Tool palette.
I know TNativeXML works in the unicode versions of Delphi (2009+) and I'm also pretty sure that it has no Windows API requirements. I haven't tried compiling it with XE2 yet, but the authors site claims compatibility up to Delphi XE.
NativeXML
精彩评论