Blog Home  Home Feed your aggregator (RSS 2.0)  
Software Code Help - What is XML?
Blog
 
# Friday, January 22, 2010

XML (Extensible markup language) is all about describing data. Below is a XML which describes invoice data.

<?xml version="1.0" encoding="utf-8"?>
<
Product>
   <
productname>Shoes</productname>
   <
qty>12</qty>
   <
totalcost>100</totalcost>
   <
discount>10</discount>
</
Product>

An XML tag is not something predefined but it is something you have to define according to your needs. For instance in the above example of invoice all tags are defined according to business needs. The XML document is self explanatory, any one can easily understand looking at the XML data what exactly it means.

Friday, January 22, 2010 5:20:13 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   XML Interview Question  | 
Comments are closed.
Copyright © 2010 SoftwareCodeHelp. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: