Archive for the ‘XML’ Category

When, Where & Why XML used


There are lots of places we can use XML

1. Where we need a place to hold some data, can read / write / manipulate without having any database. Even we can use textfile, but XML is more flexible – say which field, what is the data type, etc., if we use text file, we need to predefine what is the sequence of each column and what dataype etc.,

2. Where we need to transfer some data from one pace to another like one layer to another, one tier to another etc., – we can serialize the xml and deserialize it in destination place..,

3. Where we need a light weight file, and flexible to handle almost like a database …..

4. XML is not languages specific, can read in any program language like .NET, Java, VB, Javascript etc.,