[Top][All Lists]

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

Re: Problems with xml-parse-string

From: Chong Yidong
Subject: Re: Problems with xml-parse-string
Date: Fri, 24 Sep 2010 11:25:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> Chong Yidong <address@hidden> writes:
>> If we're going to make a clean break with the old xml.el parse tree
>> format, I think it makes more sense to go with sxml.
> The sxml format is even less regular than the xml.el format.  What would
> the advantages be to switching to sxml be?

Could you elaborate?  I'm looking at sxml's Wikipedia page, which has an
example where

  <tag attr1="value1"
    <nested>Text node</nested>

maps to

  (tag (@ (attr1 "value1")
          (attr2 "value2"))
    (nested "Text node")

This seems pretty regular to me.

reply via email to

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