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

Re: What is beautiful XML?

  • From: bryan rasmussen <rasmussen.bryan@gmail.com>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Wed, 7 Mar 2018 10:01:27 +0100

Re:  What is beautiful XML?
I will suppose that first of all beautiful XML would have to qualify as being sane http://www.flightlab.com/~joe/sgml/sanity.txt

verbosity in XML is not considered a problem, but verbosity is  relative. XML is itself more verbose than some other data serialization formats, but when an XML dialect is more verbose than the average XML dialects it is perhaps indicative of ugliness. An example of what I'm thinking of - XSL-FO seems more verbose than is necessary - I suppose other people can think of their own examples.

finally - how does it look in an indenting editor? I have a feeling that the beautiful formats when looked at in the editor will have a reasonable proportion of the major XML node types. That is to say it will achieve a sort of Platonic XML look, there will be a reasonable balance of element nodes, attribute nodes, text nodes - the format will not be too nested, but it will also definitely not be flat. There will be some elements without attributes, and no elements with a  very large number of attributes - I say 8. Names are reasonable, there may be camelCasing but I dislike too many words portmanteaued together into a camelCased mess - no singlePersonResidenceIdenitifier. Names should not be long, especially not attribute names. 

On Sat, Feb 24, 2018 at 7:04 PM, Costello, Roger L. <costello@mitre.org> wrote:

Hi Folks,

What do you mean by ‘beautiful XML’?

Perhaps you mean something analogous to this:

A question I’d asked senior scientists when in college: “What do you mean by ‘beautiful’?” Replies had varied, but a synopsis had crystallized: “Beautiful science enables us to explain a lot with a little.” Schrodinger’s equation, which describes how quantum systems evolve, fits on one line. [1]

Is beautiful XML that which says a lot with a little? If so, would you provide an example, please?

If that’s not what you mean by ‘beautiful XML,’ then what do you mean?



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


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.
First Name
Last Name
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.