问题
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.
来源:https://stackoverflow.com/questions/3581520/is-there-a-sax-parser-for-delphi-and-free-pascal