OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] malfunctioning, evil adult as XML

[ Lists Home | Date Index | Thread Index ]

Yes, I don't see how


is more usefull than


Perhaps to indicate that everything that starts with '@' is an attribute 
  of it's parent? I thought that's what XML's hierarchical structure was 

On the other hand, I would enjoy the flexibility of

<foo bar="bla"/>

being the same as


as it would alow an attribute to be "promoted" to elements when 


Seairth Jacobs wrote:
> Yes, but then people will have metadata of metadata, etc. So do you make
> structured attributes for structured attributes?  Where does it stop?
> ---
> Seairth Jacobs
> seairth@seairth.com
> From: "Andrew Layman" <andrewl@microsoft.com>
>>James Clark wrote: "RE: - they ought to have be able to structured
>>values, just like elements (i.e. one could view the content of an
>>element as a special unnamed attribute), .."
>>Agreed.  Attributes are highly useful as a means to attach metadata or
>>annotations to elements.  Metadata itself may have structure and may
>>have metadata, hence the utility of structured attributes and attributes
>>of attributes.
>>The obvious syntactic device (in a future version of XML) for a
>>structured attribute is something that looks much like an element, e.g.
>>  <@title>Paradise Lost</@title>
>>  <@author>
>>    <@birth>1608</@birth>
>>    <@death>1674</@death>
>>    John Milton
>>  </@author>
>>  Of Man's First Disobedience and the Fruit
>>  Of that Forbidden Tree, whose mortal tast
>>  Brought Death into the World, and all our woe,
>>  With loss of Eden, till one greater Man
>>  Restore us, and regain the blissful Seat,
>>  Sing Heav'nly Muse ...
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> The list archives are at http://lists.xml.org/archives/xml-dev/
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS