[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Just nodes please (was: Re: XML2.0:Truncated End
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] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|