[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Abandon the (mistaken) belief that XML attributesprovide "metadata" and set yourself free to explore capability-based designs
- From: Liam R E Quin <liam@w3.org>
- To: Andrew Welch <andrew.j.welch@gmail.com>
- Date: Sun, 20 Mar 2011 22:23:55 +0100
On Sun, 2011-03-20 at 11:40 +0000, Andrew Welch wrote:
> It's worth adding here, that if you are sax parsing and have to switch
> processing based on some value, then its far easier to do that if its
> an attribute than a child element.
The more abstract pattern is that Schema has avoided the idea of a
descendent changing the meaning of an element.
"If the paragraph contains footnote references, it's a document-para and
not an abstract-para" is in some ways equivalent to "paragraphs within
the abstract cannot contain footnote references" in a less declarative
sort of way, but generally much more painful to think about in editing
and manipulating and generally processing.
Liam
--
this signature temporarily out of order
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]