XML

From VideoLAN Wiki
Revision as of 06:57, 2 February 2019 by DoesItReallyMatter (talk | contribs) (Create page. Unfortunately I have no way of knowing whether it will be useful (will users just google it?) but it was redlinked)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

XML is an acronym for extensible markup language. It is a compromise between machine language and regular text. It resembles HTML (and can be mixed with HTML in some cases to make XHTML). It looks like this:

 <?xml version="1.0" encoding="UTF-8"?>
 <location>
  <country>France
   <region>Île-de-France
    <department>Hauts-de-Seine
     <arrondissement>Antony
      <canton>Châtenay-Malabry
       <university>École Centrale Paris</university>
      </canton>
     </arrondissement>
    </department>
   </region>
  </country>
 </location>

The tags are readable by humans with some effort, and machines can parse XML as a data tree. Subtitle formats are sometimes written in XML.