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


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Namespaces,

On Tue, 31 Jul 2001, John Cowan wrote:

> > As an aside that will no
> > doubt cause another long discussion, except for the fact that attributes
> > are typed, is there anything you can do with an attribute that you can't
> > do with a PCDATA-only child element?)
> Well, you can express attributes in any order and be guaranteed that
> an element has at most one attribute with a given name.

Attributes are irritating - they're purely a representation thing, not a
core data model thing, really. You can express elements in any order
unless you state that order matters, and you can state that a valid
instance has only one of a particular element in thy schema...


                               Alaric B. Snell
 http://www.alaric-snell.com/  http://RFC.net/  http://www.warhead.org.uk/
   Any sufficiently advanced technology can be emulated in software