Is there a SAX Parser for Delphi and Free Pascal?

2019-01-28 06:39发布

问题:

Besides MSXML and SAX for Pascal, can you recommend a SAX parser for Delphi? It would be great if it could be used in cross-platform applications with Free Pascal.

回答1:

The open-source libxml2 engine supports SAX, and has a Pascal binding available.



回答2:

OXML also provides support for SAX and outperforms most other parsers (yes even libxml2).



回答3:

I would recommend DIXml.



回答4:

Euh, the SAX xml parser that comes with FPC ? See the fcl-xml package.

Afaik the recent activity on this package has made it largely Delphi compatible even.