emacs-devel
[Top][All Lists]
Advanced

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

Re: Linking Emacs with libxml2


From: Chong Yidong
Subject: Re: Linking Emacs with libxml2
Date: Mon, 06 Sep 2010 15:19:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> 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.)

Semantic already has a HTML parser, but I don't know how usable it is
for the purposes of writing a renderer.



reply via email to

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