DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   RSS, Web Services and SOAP (http://www.daniweb.com/forums/forum151.html)
-   -   how xml is useful? (http://www.daniweb.com/forums/thread46241.html)

aarya May 24th, 2006 11:04 am
how xml is useful?
 
i have gon through w3school about xml. i know what it is ext.but still not able to get idea how it is useful and anybody show the website example to show how xml is useful.thanks

extofer May 24th, 2006 12:03 pm
Re: how xml is useful?
 
Quote:

Originally Posted by aarya
i have gon through w3school about xml. i know what it is ext.but still not able to get idea how it is useful and anybody show the website example to show how xml is useful.thanks


The best example is that XML can store data, or distribute data. Much like a database, you can create your own fields and records, and most of all, it's not propriatery, therefore, you don't need specific programs to read it or write it. Try RSS, that's a good example of XML.
http://en.wikipedia.org/wiki/Rss
http://en.wikipedia.org/wiki/XML

Rashakil Fol Jun 2nd, 2006 10:10 pm
Re: how xml is useful?
 
Quote:

Originally Posted by aarya
i have gon through w3school about xml. i know what it is ext.but still not able to get idea how it is useful and anybody show the website example to show how xml is useful.thanks



It's useful if you want to store data with ten times the space and three times the verbosity you need. It's also useful if you want to transform your data with XSLT into other XML documents, but this time with twenty times the verbosity you'd get in any other language. XML is useful since it's simple and there are XML parsing libraries lying around waiting for you to use them, in many programming languages. Never mind that handy facilities for parsing and manipulating hierarchal expressions were built into Lisp more than a quarter century ago...

As a standard way of formatting data, it's best used for communication between foreign programs, and perhaps for human-readable configuration files. But it's not good to use an XML document as if it were a database, unless you enjoy slowing your computer down.

inkrajesh Jun 13th, 2006 3:01 am
Re: how xml is useful?
 
Hi..arya..

HTML can only be used to display data in computer browsers....think of a situation where you have to display the same data in a Palm Top !!!!!

So if you use XML there instead of HTML ...your new device will be able to understand it..

I hope it helps....

Rajesh C Medackel. TVM, India


All times are GMT -4. The time now is 2:45 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC