3 ms·
XML is also a transform specification with XSLT (https://en.wikipedia.org/wiki/XSLT https://en.wikipedia.org/wiki/XSLT). XML is also a query language with XQue
by thesuperbigfrog 7y ago
XML is also a transform specification with XSLT (https://en.wikipedia.org/wiki/XSLT https://en.wikipedia.org/wiki/XSLT).
XML is also a query language with XQuery (https://en.wikipedia.org/wiki/XQuery https://en.wikipedia.org/wiki/XQuery).
XML is also a nested structure path specifier with XPath (https://en.wikipedia.org/wiki/XPath https://en.wikipedia.org/wiki/XPath).
XML is also a file format with SVG (https://en.wikipedia.org/wiki/Scalable_Vector_Graphics https://en.wikipedia.org/wiki/Scalable_Vector_Graphics), OpenOffice XML (https://en.wikipedia.org/wiki/OpenOffice.org_XML https://en.wikipedia.org/wiki/OpenOffice.org_XML), OpenDocument (https://en.wikipedia.org/wiki/OpenDocument https://en.wikipedia.org/wiki/OpenDocument), ePUB (https://en.wikipedia.org/wiki/EPUB https://en.wikipedia.org/wiki/EPUB), DocBook (https://en.wikipedia.org/wiki/DocBook https://en.wikipedia.org/wiki/DocBook), and many others (https://en.wikipedia.org/wiki/List_of_XML_markup_languages https://en.wikipedia.org/wiki/List_of_XML_markup_languages).
XML is also an data/object serialization format with libraries like Jackson (https://github.com/FasterXML/jackson https://github.com/FasterXML/jackson), YAXLib (https://github.com/sinairv/YAXLib https://github.com/sinairv/YAXLib), Boost (https://www.boost.org/doc/libs/1_38_0/libs/serialization/example/demo_xml.cpp https://www.boost.org/doc/libs/1_38_0/libs/serialization/exa...), Pyxser (https://github.com/dmw/pyxser https://github.com/dmw/pyxser), and many others.
XML may not be as elegant as JSON, but it has a wide variety of uses and wide adoption across many programming languages (libraries), and disciplines.