duk wrote:i dont understand to much about XML but he got the point, for me until i understand now, XML is a crap.. i prefer that everyone write in HTML where hi will be able to read and understand then someone wrote a XML document, leave the company and the boss wants to use the same XML document and you need to lost hours to understand how the other person have organize data...
You are fundamentally misunderstanding the nature HTML and XML. HTML is XML, only badly formed, like a dialect of a language in a remote mountain village. HTML is basically nothing but a container for data and layouting information. Problem is: it has many, many, many silly exceptions, and does not comply with standards. An attempt at a solution to this was XHTML (after HTML 4, HTML 3 etc.).
To simply display a webpage in a webbrowser, that might have been fine, but to display a page in many different devices, from smart phones, PDAs, print, TV etc. etc. HTML increases complexity.
Stylesheets came to the rescue (more or less), but now everyone wants their data in "real-time" (sidenote: as opposed to "unreal time";) ). So data between very, very different sources of information, across very different companies, webservices, applications (chat, blogs, podcasts, office documents etc. etc.) needs to be interconnected. HTML simply cannot live up to the job, due to it's mix-up of layouting and, generally, non-standard compliance.
Another, more flexible markup language was required and the IT industry looked to the "mother" of HTML, XML - which offers total flexibility in terms of data (with the notable exception, as has been said before, of binary data). Think about where the internet is heading and start searching for terms like "semantic web" and you see why interconnectedness is key to everything electronic.
duk wrote:and i still dont understand the point of XML, a lot of XML on the internet im not able to see them, because i think i need the xml parser like a css for xml... so whats the point someone look into XML data and need to spent some time figure out, how things are wrking ??? why not use a standard laguage..
XML
is the standard language. Look beyond the web and look at what is being planned. Read up on RSS, REST queries, XMLRPC, etc. etc. In an industry which was once famous for it's proprietary data formats, XML is "the" answer. Whether you like it or not, XML is a cornerstone of the internet and has already moved to the desktop (i.e. Open Office, soon MS Office as well - see "open document").[/list]