[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with xml-parse-string
From: |
Andrew W. Nosenko |
Subject: |
Re: Problems with xml-parse-string |
Date: |
Sat, 25 Sep 2010 02:43:41 +0300 |
On Fri, Sep 24, 2010 at 03:04, Stefan Monnier <address@hidden> wrote:
>> As for the :foo node names, we can map them to anything else if
>> required. Pick an invalid XML character -- any one will do, if this is
>> important.
>
> How 'bout =foo ?
>
Another way to disappear the problem: just prefix _every_ name, and
nodes and attributes. Nodes by the one symbol (e.g. by '.' (dot)), an
attributes by another (e.g. by current ':' (colon)).
<node attr="val"/> becomes ".node" and ":attr"
<:node :attr="val/> becomes ".:node" and "::attr"
<.node .attr="val"/> becomes "..node" and ":.attr" if dot allowed
at the first char of name at all
In this case you avoid ambiguity whether 1st char is part of original
name or introduced as the "type sign" by engine. Just because it
always is the "type sign" and introduced by engine.
--
Andrew W. Nosenko <address@hidden>
- Re: Problems with xml-parse-string, (continued)
- Re: Problems with xml-parse-string, Stefan Monnier, 2010/09/25
- Re: Problems with xml-parse-string, Leo, 2010/09/25
- Re: Problems with xml-parse-string, Leo, 2010/09/25
- Re: Problems with xml-parse-string, Stefan Monnier, 2010/09/26
- Re: Problems with xml-parse-string, Leo, 2010/09/26
- pcase.el (was: Problems with xml-parse-string), Ted Zlatanov, 2010/09/25
- Re: pcase.el, Stefan Monnier, 2010/09/26
- Re: pcase.el, Leo, 2010/09/27
- Re: pcase.el, Stefan Monnier, 2010/09/27
- Re: pcase.el, Ted Zlatanov, 2010/09/28
- Re: Problems with xml-parse-string,
Andrew W. Nosenko <=
- Re: Problems with xml-parse-string, Kevin Rodgers, 2010/09/22
- Re: Problems with xml-parse-string, Chong Yidong, 2010/09/22
- Re: Problems with xml-parse-string, Lars Magne Ingebrigtsen, 2010/09/22
- Re: Problems with xml-parse-string, Chong Yidong, 2010/09/22
- Re: Problems with xml-parse-string, Lars Magne Ingebrigtsen, 2010/09/22
- Re: Problems with xml-parse-string, Wojciech Meyer, 2010/09/22
- Re: Problems with xml-parse-string, Andy Wingo, 2010/09/22
- Re: Problems with xml-parse-string, Chong Yidong, 2010/09/22
- Re: Problems with xml-parse-string, Edward O'Connor, 2010/09/22
- Re: Problems with xml-parse-string, Leo, 2010/09/22