4

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.

mjn
  • 36,362
  • 28
  • 176
  • 378
  • pull-parser is not SAX-parser but might have all its benefits as well. See MS XMLLite stats at https://docs.google.com/spreadsheets/d/1QcFVwh3fFfaDyRmv2b-n4Rq4_u5p42UfNbR_FZgZizY/edit?usp=sharing – Arioch 'The Oct 04 '16 at 12:24

4 Answers4

4

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

ThePenguin
  • 123
  • 9
  • 2
    But the guy does not answers mails. So, it is not truly Opensource and it is not reliably commercial. While sounds very promising it looks like a dead-end lock-in... – Arioch 'The Oct 04 '16 at 12:22
2

I would recommend DIXml.

ErvinS
  • 1,116
  • 7
  • 13
2

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.

mjn
  • 36,362
  • 28
  • 176
  • 378
Marco van de Voort
  • 25,628
  • 5
  • 56
  • 89
2

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

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770