I never learnt XML at University, by time I learnt programming JSon had won the Web Services war and it seemed a waste of my limited energy to study this verbose language, however a recent project forced me to take another look at this EXtensible Markup Language.
On the surface of it this looked like a 10 minute job; go to W3C Schools, read the tutorials and start coding. Unfortunately in programming, for every language you learn you will need to learn 2 more to make it work. Let me explain:
XML is easy enough, but to use XML effectively you need to learn XSLT, not too bad, but then to use XSLT you need to learn XPath. Using XPath? You need to learn XQuery, XLink and XPointer. Oh and by the way you will need to learn XML Schemas and DTD’s to really make your code multi-platform.
XML is a simple clean language that is easy to learn. The XML stack is insidious. It starts easy then jumps in complexity. Some might say that learning XML and it’s related languages is not difficult but rather tedious. I would agree with this. It is difficult to put in the energy when you look out the window and see JSon and friends having a good old time.
I will press on with my task of learning XML; my ultimate goal being to understand the workings of Apache Ant, a Java-based build tool that utilizes XML based configuration files. Just another build tool.
Robert Morel is a Software Developer and Freelance WordPress Developer at Amarria and a blogger for B.I.S.S. Research. Contact me at email@example.com