[Top][All Lists]

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

Re: mapping data formats imported from C libraries

From: Steinar Bang
Subject: Re: mapping data formats imported from C libraries
Date: Wed, 26 Nov 2014 11:41:51 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (windows-nt)

>>>>> Lars Magne Ingebrigtsen <address@hidden>:

> The Emacs DOM is quite non-sucky.  It's just a tree.

> (thing ((attrib . value)) (foo) (bar))

Nice.  How do you get to that tree from libxml2? Is it parsed into the
libxml2 DOM first and then transferred into the lisp structure?

If so, is the libxml2 tree kept in memory as well, or is it free'd?  Or
is the lisp structure a thin wrapper over the libxml2 native tree?

Or is the XML stream parsed by libxml2 directly into the lisp structure?
Ie. the lisp structure is the only in-memory representation of the DOM?

reply via email to

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