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


Help: OASIS Mailing Lists Help | MarkMail Help



   Structured Attributes

[ Lists Home | Date Index | Thread Index ]
  • From: "Bent Rasmussen" <runnable@hotmail.com>
  • To: xml-dev@xml.org
  • Date: Sun, 05 Mar 2000 20:20:25 CET

Attribute Organization

This is an alteration of Henry Thompson's proposed syntax for structured 
attributes. I have a similar idea, but as far as I remember this is a 
different syntax.


To introduce structured attributes, one could make an element like this


which would serve as a collection of attribute structures for the context 
element. Semantically the "." element would mean attribute container. This 
would look like,


So the immediate children of the "." element would be attributes.

Attributes Organization, an Example,

    <subject>XSchema, the making of</subject>
      <definition>To explain.</definition>


I've been pretty ignorant to schema and query considerations, but it just 
seems like a nice syntax. In constructing my own document type it seemed to 
me that I often wanted to express metadata about the element content, but 
that it it would be less elegant to express it like this,



Perhaps my approach is totally broken, but for myself it seems intuitive and 

Get Your Private, Free Email at http://www.hotmail.com

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


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

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