XML - Simple
I don't want to get too technical on the XML side, so I will keep this simple. XML is a means of describing data in tag format. In plain english, XML lets you make up tags which best describe the information each tag represents. Unlike HTML, which is a simple formatting language for text and media, XML has nothing to do with formatting the data, just describing it. Confused? Well, let's look at a really simple example to clear things up. This is a REALLY simple person XML document containing my first and last name as XML data.
<%lt%>?xml version="1.0"<%gt%> <%lt%>person<%gt%> <%lt%>last_name<%gt%>Smith<%lt%>/last_name<%gt%> <%lt%>first_name<%gt%>Chris<%lt%>/first_name<%gt%> <%lt%>/person<%gt%>
Not a very complex example, I know, but I think it demonstrates the basics of xml. Rather than putting this kind of data in an html table, which makes it very hard to get at and do anything with (such as reformatting it, sorting it, etc.), the data itself is marked up with tags which describe what the data is.
| » Level Advanced |
|
Added: 2000-12-13 Rating: 9 Votes: 705 |
| » Author |
| No information about the author has been provided |
| » Download |
| Download the files used in this tutorial. |
| Download (44 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!