[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Namespaces,
- From: Al Snell <alaric@alaric-snell.com>
- To: John Cowan <cowan@mercury.ccil.org>
- Date: Wed, 01 Aug 2001 10:18:11 +0100 (BST)
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...
ABS
--
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