XML - Exemples


 <?xml version="1.0"?>
 <memo xml:lang="fr">
   <to>J. Smith</to>
   <from>P. Brown</from>
   <date>20/01/2000</date>
   <body>
     <p>meeting confirmed
     <em>tomorrow</em> 10am
     </p>
   </body>
 </memo>
 
 <?xml version="1.0"?>
 <mfrac>
   <mn> 1 </mn>
   <mrow>
      <mn> 2 </mn>
      <mo> &InvisibleTimes; </mo>
      <mi> n </mi>
   </mrow>
 </mfrac>
 
 <?xml version="1.0"?>
 <customer>
   <name>...</name>
   <order>...</order>
   <order>...</order>
 </customer>
        
 <?xml version="1.0"?>
 <par>
   <video id="a" src="movie1"/>
   <seq>
     <audio src="audio1"/>
     <audio begin="5s" src="audio2"/> 
   </seq>
 </par>