[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking Emacs with libxml2

From: Lennart Borgman
Subject: Re: Linking Emacs with libxml2
Date: Mon, 6 Sep 2010 20:44:06 +0200

On Mon, Sep 6, 2010 at 5:21 PM, Lars Magne Ingebrigtsen <address@hidden> wrote:
> Apparently libxml2 comes with a parser for "real world" HTML, which is
> very intriguing:
> http://www.xmlsoft.org/html/libxml-HTMLparser.html
> If Emacs provided a native interface to this function, we could say
> (parse-html "file.html")
> => (:html (:head ...) (:body ...))
> and get a nice parse tree out very fast.  (Parsing HTML from Emacs Lisp
> is rather slow.)
> Has this been discussed before and rejected?  It seems like an obvious
> idea, and would enable both easier extraction of data from HTML files,
> as well as writing a (simple) HTML renderer in Emacs Lisp.

It was discussed before here:


Wasn't there a problem with linking to external libraries at that time?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]