Windows & Mac XML library for delphi XE2

2019-08-13 19:06发布

What is the best (easy to use, performances) library to manage XML on Delphi XE2. Windows and Mac targets in mind.

3条回答
何必那么认真
2楼-- · 2019-08-13 19:40

You can use OmniXML, it is:

  1. 100% written in delphi
  2. Has no outer dependencies
  3. Works on XE2, did not test it on OSX

On top of OmniXML you can use SimpleStorage to give you more power and simplicity managing the XML.

查看更多
贼婆χ
3楼-- · 2019-08-13 19:51

Andreano Lanusse has a nice blog post on using XML on Mac. It turns out that:

When you drop a TXMLDocument component on your design the default DOMVendor MSXML, you have to change to ADOM XML v4 to support cross-platform.

查看更多
我只想做你的唯一
4楼-- · 2019-08-13 19:54

I usually go for the NativeXML library, it's an XML library completely written in Delphi code and it's free. I'm not sure if the latest version offers compatibility with the Firemonkey platform, but with a few changes to unit names I tested it successfully back when Delphi XE2 was first released.

You can find the component here: http://www.simdesign.nl/xml.html In case the latest version isn't compatible with XE2 yet, there's a topic on the forums about how to make it compatible: http://www.simdesign.nl/forum/viewtopic.php?t=2110

查看更多
登录 后发表回答