[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: xml-dev@l...
  • Date: Sat, 01 Nov 2014 14:16:43 -0400

On 11/01/2014 10:32 AM, Costello, Roger L. wrote:
The Markup Minimalist Credo

1.Flatter is better. Add structure (markup) to XML only when absolutely
necessary.

2.Data exchange formats: make them flat.

3.When sending data to consumers, distribute the data in a flat format.

4.When consumers receive the flat XML they may add structure (markup) to
facilitate simpler and more efficient Schematron assertions and/or
simpler and more efficient application processing. Different consumers
will add different structure (markup), depending on their (local)
requirements.

Comments?
For some purposes, this makes sense. I've argued for a while that there is no one true structure for a given document, and this pushes that in a "don't impose" direction.

I suspect, though, that this is more of a tendency to encourage than laws to enforce. I'm hoping, for example, that Web Components will let the HTML world use much more concise markup than the current "div-itis" that afflicts too many sites.

I'm not heading back to CSV, except for a few cases where that fits, but simpler markup structures usually make sense to me.

Thanks,
Simon


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member