[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DOM manipulation functions
From: |
Rüdiger Sonderfeld |
Subject: |
Re: DOM manipulation functions |
Date: |
Sun, 23 Nov 2014 16:59:19 +0100 |
User-agent: |
KMail/4.13.3 (Linux/3.13.0-39-generic; KDE/4.13.3; x86_64; ; ) |
On Sunday 23 November 2014 16:18:24 Lars Magne Ingebrigtsen wrote:
> 2) Due to stupidity on my part I disregarded Chong's advice on how to do
> the DOM manipulation things in shr.el, so we now basically have two DOMs
> in Emacs -- the xml.el one and the one that shr uses.
>
> I think it would be a good idea if I rewrote shr.el to just use the
> xml.el DOM, like Chong said back then. This will break any third-party
> code that relies on shr internals, though.
Aren't there three? I think libxml has its own DOM structure as well or is it
the same as xml.el? Because in shr.el the code converts the libxml DOM into
its own DOM. But that's just from my memory.
> So: New dom.el, and rewrite shr/eww to depend on dom.el.
I think it would be awesome if we had one unified DOM implementation, which
could either use libxml (if available) or xml.el (as a fallback) to parse XML.
Regards,
Rüdiger
- DOM manipulation functions, Lars Magne Ingebrigtsen, 2014/11/23
- Re: DOM manipulation functions, joakim, 2014/11/23
- Re: DOM manipulation functions,
Rüdiger Sonderfeld <=
- Re: DOM manipulation functions, Lars Magne Ingebrigtsen, 2014/11/23
- Re: DOM manipulation functions, Leo Liu, 2014/11/23
- mapping data formats imported from C libraries (was: DOM manipulation functions), Ted Zlatanov, 2014/11/25
- Re: mapping data formats imported from C libraries, Lars Magne Ingebrigtsen, 2014/11/25
- Re: mapping data formats imported from C libraries, Ted Zlatanov, 2014/11/25
- Re: mapping data formats imported from C libraries, Lars Magne Ingebrigtsen, 2014/11/25
- Re: mapping data formats imported from C libraries, Ted Zlatanov, 2014/11/25
- Re: mapping data formats imported from C libraries, Lars Magne Ingebrigtsen, 2014/11/25
- Re: mapping data formats imported from C libraries, Steinar Bang, 2014/11/26