But you miss what I think is the most important point: it is rapidly becoming a standard way of representing information.
The problem is that XML is NOT a way of representing information. It’s at best a way of building an information representation structure, XML doesn’t represent anything.
I would argue the value of having a standard far outweighs the inefficiencies in most cases.
XML is not a standard for anybody but marketrod. One of Erik Naggum’s numerous quotes about XML comes to mind here:
Structure is nothing if it is all you’ve got. Skeletons spook people if they try to walk around on their own; I really wonder why XML does not.
Take a simple example of a configuration file that some application will need for saving user information.
Wow, a non-sequitur already? The problem here is not “hey they’re not using XML” but the reinvention of the wheel. There are, and were before XML, numerous formats that could be used for representing a conf file. XML is barely an answer here, and one that is usually misused to insert one more buzzword in a press release.
I don’t want to write little parsers anymore. I want to use something that is already written and works.
Guess what? There are numerous JSON and YAML parsers available for most popular languages. You don’t have to write little parsers if you don’t want to, and you haven’t needed to since long before XML.
XSD can be used to insure the integrity of the XML file before your program starts to slurp in the data in the file.
As I said above, there are schema languages for JSON. And I really don’t understand why every person who talks about XML schema languages just has to pick the most verbose, unreadable and annoying one of the bunch.
XSLT can be used to do arbitrary transformations on the data
So can any regular language, the only advantage this crippled, dumbed down, annoying language called XSLT has over others is that it’s written in XML.
Wow, paint me impressed.
And yes, I have used XSLT, I’ve spent the better half of my days in it during a whole year. I know and understand the thing, and I still hate it, I’d take HaXml or HXT over it any day of the week if I was the one to choose.
XML/XSL authoring and editing tools abound.
And mostly show how misguided XML is in the first place.