Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-04

What library to use for DOM/XML/HTML?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martok

Hi all,

I'm currently looking for a library to read and write HTML DOM trees from/to X(HT)ML and HTML files. Is there any native pascal library that you can recommend?

So far I have only found fcl-xml and its "fork" in lazutils (which are incomplete, incompatible and appear dead), and a lot of XML parser classes that have no provisions for building a DOM from them: libxml2, various msxml-imports (which of course is not crossplatform), JclSimpleXML, OmniXML, OXml just to name a few.

Which ones did I miss, and do you know of any one that can do what I want? Additional bonus if it uses COM-style interfaces in its DOM, because that would save me a lot of work with emulating mixins...

Regards,

Martok

Reply by email

Mattias Gaertner
to Martok
Show quoted text 7 lines
Hi all, I'm currently looking for a library to read and write HTML DOM trees from/to X(HT)ML and HTML files. Is there any native pascal library that you can recommend? So far I have only found fcl-xml and its "fork" in lazutils (which are incomplete, incompatible and appear dead),

The lazutils laz2_* are not dead. But they can't read/write HTML, only XML.

Mattias

Reply by email