emacs-devel
[Top][All Lists]
Advanced

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

Re: Problems with xml-parse-string


From: Leo
Subject: Re: Problems with xml-parse-string
Date: Sat, 25 Sep 2010 16:12:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (Mac OS X 10.6.4)

On 2010-09-25 15:42 +0100, Andy Wingo wrote:
> You should use something like sxml-match.
>
>   
> http://www.gnu.org/software/guile/docs/master/guile.html/sxml_002dmatch.html#sxml_002dmatch
>
>   (sxml-match node
>     ((img (@ (src ,src)))
>      src))
>
> A bit verbose for this particular example, but it's the best, most
> robust way to parse out values from xml-in-s-expressions.

I like this approach very much. Thanks, Andy. That should shorten the
proposed APIs to just a few.

Leo




reply via email to

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