Top 1,000 Features Creators Resources Extensions Blog Explorer CSV Download
GitHub icon

XML

< >

XML, aka Extensible Markup Language, is an open source data notation created in 1996 by Tim Bray and Jean Paoli and C. M. Sperberg-McQueen and Eve Maler and François Yergeau and John W. Cowan.

#12on PLDB 28Years Old 3kRepos

In computing, Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. The W3C's XML 1.0 Specification and several other related specifications—all of them free open standards—define XML. The design goals of XML emphasize simplicity, generality, and usability across the Internet. Read more on Wikipedia...


Example from hello-world:
<?xml version="1.0" encoding="UTF-8"?> <text><![CDATA[Hello World]]></text>
Example from Linguist:
<?xml version="1.0"?> <gml:Point xmlns:gml="http://www.opengis.net/gml" srsName="urn:ogc:def:crs:EPSG::4326" gml:id="uuid.12b3c8bb-bc8a-4f83-9085-1a5f3280b8ba"> <gml:pos>52.56 13.29</gml:pos> </gml:Point>
Example from Wikipedia:
<?xml version="1.0" encoding="ISO-8859-1" ?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"></xs:schema>

Language features

Feature Supported Token Example
Comments âś“
MultiLine Comments âś“
Case Insensitive Identifiers X
Semantic Indentation X
Ternary operators X
Macros X
Line Comments X
Conditionals X
Disk Output X

View source

- Build the next great programming language · About · Acknowledgements · Part of the World Wide Scroll