Measures Concepts
GitHub icon

XML

XML - Data notation

< >

XML, aka Extensible Markup Language, is a data notation created in 1996.

#8on 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 · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout