Difference between revisions of "XML"

From Market Ruler Help
Jump to: navigation, search
m
m
Line 3: Line 3:
 
* Used in [[AJAX]] applications to communicate with a [[Web Server]]
 
* Used in [[AJAX]] applications to communicate with a [[Web Server]]
 
* Configuration files in [[Java]] applications
 
* Configuration files in [[Java]] applications
* [[XHTML]] web documents (an advanced standard of the [[W3C]]
+
* [[XHTML]] web documents (a standard of the [[W3C]], related to [[HTML]])
 
* [[RSS]] feeds
 
* [[RSS]] feeds
 
* [[XMLRPC]] Servers
 
* [[XMLRPC]] Servers

Revision as of 01:20, 5 November 2009

Acronym. eXtensible Markup Language. XML is a file format which is commonly used for:

XML and HTML are related, as they use a similar syntax, however, XML uses a much stricter syntax.

XML looks like HTML:

<products>
 <product name="dog food" upc="541231212567">
  <prices>
   <price currency="USD">53.33</price>
   <price currency="EUR">21.99</price>
  </prices>
  <name>Zug Zug Dog Food</name>
  <description>
   <![CDATA[
    This is the only kind of food that won't eat.
   ]]>
  </description>
 </product>
</products>

But it can be associated with a DTD (Data Type Definition) which then defines what tags and attributes are permitted.

For more information check out the XML specification on the W3C web site.