Home
Programming
AspectJ   Basic   C   C++   C#   Eiffel   Java   JavaScript   Pascal   PHP   Python   Rexx   Ruby   Scriptol   Tcl
Markup
HTML   XML   XAML   XUL
Query
SQL

XML - Extensible Data Format

XML, the eXtended Markup Language, is a successor for SGML. More general than html, it incorporate data inside tags themselves and has unlimited description capacities. The format of the display is independant, and given by another document, the XSLT. Rules to create tags are defined by another document, the DTD (Document Type Declaration) which describes the grammar of the tags.
XML is processed by most programming languages through the Document Object Model.

XML features

- Significant tags based upon the content of data.
- Separated document used for the presentation.

Why to use XML?

This is a standard and universal data format. It allows to reuse a presentation for different data or use different presentations for same data.

XML Tools

XML Sites

Sample code

An invoice
<?xml version="1.0" ?>
<!- Invoice from Scriptol Corp. ->
<invoice>
  <order>000156</order> 
    <date timezone="Greenwhich">
         Jan 1, 2003 14:30:00                
    </date>
    <address> 
        <firstName>Sherlock</firstName>                
        <lastName>Holmes</lastName>                
        <street>5 Baker St.</street>
         <city>London</city>
         <state>England</state>
          <zip>75004</zip>
     </address>
     <amount> 270 </amount>
  </order>
</invoice> 
Home