[web] Help me understand XML

Started by
1 comment, last by spaceJockey123 16 years, 11 months ago
All I've been able to understand about XML is that it focuses on describing data and what data is. But why is XML so special??? It would be really useful if someone could give me an example of how XML can be used in a website like Amazon or something. Thanks, Space-j
Advertisement
XML isn't special. It is however very useful for a couple of reasons.

1) There isn't a platform or language that does not have XML tools. That means you only have to write a little code to start using XML somewhere.

2) It's human readable. That makes for easy testing and debugging

3) You can transform one kind of XML into another relatively easily (read up on XSL).

As for an example, follow the XSL link above. It has a series of nice examples about a bookstore.

<hr />
Sander Marechal<small>[Lone Wolves][Hearts for GNOME][E-mail][Forum FAQ]</small>

Thank you that helped. I didn't read up on the XSL thing but I checked the XML section at www.w3schools.com

This topic is closed to new replies.

Advertisement