[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linking Emacs with libxml2
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: Linking Emacs with libxml2 |
Date: |
Wed, 08 Sep 2010 17:16:36 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> I don't think there's such a utility function. But since the internal
> encoding of multibyte buffers is a variant of utf-8, you should be able
> to feed the internal byte-stream directly without extra decoding
> (assuming libxml2 accepts utf-8 input, of course).
Yes, it does. So how do I get the internal byte-stream of the buffer?
:-)
Except for that minor detail, it's now implemented:
(html-parse-buffer)
=>
(html
(head)
(body
(:width . "100")
(div
(:class . "thing")
(text
(text . "Hei")))))
I have to delve into the mysteries of the autoconf a bit to get the -I
line right, though...
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- Re: Linking Emacs with libxml2, (continued)
- Re: Linking Emacs with libxml2, Lennart Borgman, 2010/09/06
- Re: Linking Emacs with libxml2, Chad Brown, 2010/09/06
- Re: Linking Emacs with libxml2, Chong Yidong, 2010/09/06
- Re: Linking Emacs with libxml2, joakim, 2010/09/06
- Re: Linking Emacs with libxml2, Jason Rumney, 2010/09/06
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/06
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/08
- Re: Linking Emacs with libxml2, Andreas Schwab, 2010/09/08
- Re: Linking Emacs with libxml2, Stefan Monnier, 2010/09/08
- Re: Linking Emacs with libxml2,
Lars Magne Ingebrigtsen <=
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/08
- Re: Linking Emacs with libxml2, joakim, 2010/09/08
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/08
- Re: Linking Emacs with libxml2, Andreas Schwab, 2010/09/08
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/08
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/08
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/08
- Re: Linking Emacs with libxml2, Andreas Schwab, 2010/09/08
- Re: Linking Emacs with libxml2, Lars Magne Ingebrigtsen, 2010/09/08
- Re: Linking Emacs with libxml2, Stefan Monnier, 2010/09/09