XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[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

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]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS