(retry) Re: [SML] Whether to support Attribute or not?

Sean McGrath digitome at iol.ie
Mon Nov 29 20:33:45 GMT 1999

[John Cowan]
>> 	<element <att>val</att>> <content/> </element>
>> This is for sure not XML/SGML, but it generalizes the recursive
>> pattern.  If you want an attribute on the attribute, you write:
>> 	<element <att <att-of-att>subvalue</att-of-att>>val</att>>  ...

[Clark C. Evan]
>Thanks John.  Didn't even think of this.  It would 
>definately allow for recursive attributes -- and a 
>clear distinction between meta informatoin (attributes) 
>and content information.  Very nice.
The notion that elements are for information whilst
attributes are for meta-information is, IMO, bogus.

Yes there are XML applications where attributes are
used to "talk about" elements but I have seen, and
created, many XML/SGML applications where this is
not so.


<Sean uri="http://www.digitome.com/sean.html">
Developers Day co-Chair WWW9, April 2000, Amsterdam

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list