to the main page about the tutorial  THE XML REVOLUTION  -  TECHNOLOGIES FOR THE FUTURE WEB back up next

Applications of XML

There are already hundreds of serious applications of XML.

XHTML

W3C's XMLization of HTML 4.0. Example XHTML document:
  <?xml version="1.0" encoding="UTF-8"?>
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head><title>Hello world!</title></head>
    <body><p>foobar</p></body>
  </html>

CML

Chemical Markup Language. Example CML document snippet:
  <molecule id="METHANOL">
    <atomArray>
      <stringArray builtin="elementType">C O H H H H</stringArray>
      <floatArray builtin="x3" units="pm">
         -0.748 0.558 -1.293 -1.263 -0.699 0.716
      </floatArray>
    </atomArray>
  </molecule>

WML

Wireless Markup Language for WAP services:
  <?xml version="1.0"?> 
  <wml> 
     <card id="Card1" title="Wap-UK.com"> 
       <p> 
          Hello World 
       </p> 
     </card> 
  </wml>

ThML

Theological Markup Language:
 <h3 class="s05" id="One.2.p0.2">Having a Humble Opinion of Self</h3>
 <p class="First" id="One.2.p0.3">EVERY man naturally desires knowledge
  <note place="foot" id="One.2.p0.4">
   <p class="Footnote" id="One.2.p0.5"><added id="One.2.p0.6">
     <name id="One.2.p0.7">Aristotle</name>, Metaphysics, i. 1.
   </added></p>
  </note>; 
  but what good is knowledge without fear of God? Indeed a humble 
  rustic who serves God is better than a proud intellectual who 
  neglects his soul to study the course of the stars.
  <added id="One.2.p0.8"><note place="foot" id="One.2.p0.9">
    <p class="Footnote" id="One.2.p0.10">
     Augustine, Confessions V. 4.
    </p>
  </note></added> 
 </p>

There is a long list of many other XML applications.

back COPYRIGHT © 2000-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH next