Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why XML??????????

 
Devang B patel
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends!
I am Java programmer. I have also gone through JAXP.
But could u please tell why we need xml in real life.
The works we can do with xml the same thing we can do without xml.Can u tell me some points regarding it?
Thanx...
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here are the most commonly quoted reasons for adopting to XML

  • XML is portable ( and will soon become universal format for )data.
  • It is human-readable itself, without requiring complicated translators/decoders .
  • XML helps separation of content from presentation. XML helps think in the "structure" way rather than the "presentation" way.
  • XML can represent _any_ hierarchical and/or structured data.
  • Since data is portable it eliminates the need for propriety data formats, the data conversions and hence reduces cost of eCommerce transactions.
  • Text-based and hence very light overhead in transportation.
  • Highly extensible - supports user-defined tags.
  • Highly supported - number of parsers, browsers etc all of them adheres to one standard.
  • Parallel technolgies - many of them being developed and standardized DTD, XSL, Parsers etc.

  • Also checkout this excellent article http://java.sun.com/xml/birth_of_xml.html
    Good luck,
    ------------------
    Ajith Kallambella M.
    Sun Certified Programmer for the Java2 Platform.
 
Peter Pascale
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Devang - The list above is pretty complete. But I'll add one from personal experience that I think we'll really start to matter. If everything listed above is true (and it pretty much is), then more and more software vendors will support XML integration tools in their products (which they have begun to do). So hopefully we will have an easier time of getting disparate systems to talk to one another. If your database can export XML, and your legacy application has a bolt-on that can read XML, you have a much simpler integration task.
Peter Pascale
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic