[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Engineering versus Science, Anecdote versus Evidence... [W

  • From: dvint@dvint.com
  • To: "John Cowan" <cowan@mercury.ccil.org>
  • Date: Wed, 4 Jan 2012 14:08:51 -0800

Re:  Engineering versus Science
> # This guide is meant for the design of XML that is to be generated
> # and consumed by machines rather than human beings.  Its rules are not
> # applicable to formats such as XHTML (which should be formatted as much
> # like HTML as possible) or ODF which are meant to express rich text.

the primary purpose may be for machine use, but it is funny how many times
a human has to get in there to troubleshoot the content.


>
> <person>
>   <name>Barack Obama</i>
>   <children>
>     <child>Malia Ann Obama</child>
>     <child>Natasha Obama</child>
>   </children>
>   <employment>
>     <job from="1997" to="2004">State senator</job>
>     <job from="2005" to="2008">Senator</job>
>     <job from="2008">President</job>
>   </employment>
> </person>


Just for the purpose shown here, having the nesting makes it easier to see
and manage the content. Add an editor that has some XML smarts, I can now
collapse the children or employment section to get all the content out of
the way. Having to trouble shoot very flat and long sturctures is very
painful without the nesting that you recommend removing. Yeah it might not
be needed to get the job done, but part of the goal for XML was to have a
human readable format, otherwise, why not just go binary and be done with
it.

..dan




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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.