[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 23:18:25 +0200 |
On Mon, Sep 6, 2010 at 11:08 PM, Stefan Monnier
<address@hidden> wrote:
>> Apparently libxml2 comes with a parser for "real world" HTML, which is
>> very intriguing:
> [...]
>> 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's an obvious idea, but I think it's a fair bit of work:
> - you'll probably want your function to be able to read from a buffer
> rather than from a file (reading from a file would slow down the
> operation to a point where using a separate xml-to-elisp executable
> isn't that much worse).
> - parsing HTML is the easy part, rendering it in Emacs is a lot
> more difficult.
But perhaps can libxml2 be used by semantic?
Though I do not know if that is interesting.
- Re: Linking Emacs with libxml2, (continued)