[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Just nodes please (was: Re: [xml-dev] XML2.0:Truncated End Tags (Was: Fixing what's broke))
- From: Liam R E Quin <liam@w3.org>
- To: Manos Batsis <manos_lists@geekologue.com>
- Date: Thu, 09 Dec 2010 21:24:15 -0500
On Mon, 2010-12-06 at 18:44 +0200, Manos Batsis wrote:
> On 12/06/2010 06:04 PM, David Lee wrote:
> > If you really value conciseness above all else there is always attributes
>
> On a sidenote, it would be great if
>
> <node1 node2="node3" />
>
> was equal to
>
> <node1>
> <node2>node3</node2>
> </node1>
I once proposed xml:attributes for this purpose:
<node1>
<xml:attributes>
<node2>value</node3>
</xml:attributes>
content here
</node1>
The xml:attributes wrapper is needed so you can distinguish element
content from attributes, if that distinction is important.
The syntax then allows attributes to contain markup (breaking
pretty much every existing XML API, of course...)
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]