XML in Real Life

Some examples of how XML can be used to exchange information.

Example: XML News

XMLNews is a specification for exchanging news and other information.
Using such a standard makes it easier for both news producers and news consumers to produce, receive, and archive any kind of news information across different hardware, software, and programming languages.

An example XMLNews document:

<?xml version="1.0" encoding="ISO-8859-1"?>


<title>Colombia Earthquake</title>


  <hl1>143 Dead in Colombia Earthquake</hl1>
  <bytag>By Jared Kotler,
 Associated Press Writer</bytag>
  <location>Bogota, Colombia</location>
  <date>Monday January 25 1999 7:28 ET</date>



Example: XML Weather Service

An example of an XML national weather service from NOAA (National Oceanic and Atmospheric Administration):

<?xml version="1.0" encoding="ISO-8859-1" ?> 
<credit>NOAA's National Weather Service</credit> 
   <title>NOAA's National Weather Service</title> 
<location>New York/John F. 
Kennedy Intl Airport, NY</location> 
Mon, 11 Feb 2008 06:51:00 -0500 EST
<weather>A Few Clouds</weather> 
XML in Real Life Reviewed by 1000sourcecodes on 20:39 Rating: 5
Powered by Blogger.