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


Help: OASIS Mailing Lists Help | MarkMail Help



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

[ Lists Home | Date Index | Thread Index ]
  • From: "Rick Jelliffe" <ricko@allette.com.au>
  • To: <xml-dev@ic.ac.uk>
  • Date: Sat, 27 Nov 1999 14:41:35 +0800

From: Don Park <donpark@docuverse.com> 

>I believe it is now time to address the question of
>whether Attribute should be supported in SML or not.
Because it is convenient for programming. 

It seems that most XML programs are written so that
the elements "push" programs but attributes values
are "pulled" in.  So the programmer does not need
to concern themselves with attributes that are redundant
to their task.  To make everything an element would 
reduce the choices available to a programmer.

Are you talking about syntax or labelling here?  You can
see that some people say "lets remove attributes and
have '<sml:attribute>' instead".  Others say "lets
remove comments and have 'comment' instead". This is
not a simplification at all: the handling of these
has to be handled by subsequent layers (or, worst, by
the programmer explicitly: will we have to put in
    comment { display: none }
    sml:attribute {display: none}
into every CSS stylesheet?   

Rick Jelliffe

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


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

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