Contact Our Development Team
Free Code Tutorials & Open Source Code
XML Introduction
Tutorials > XML > Introduction
XML Introduction
The most important things to remember about XML are that XML doesn't do anything - you need to use your preferred scripting language to do anything with data which is stored in an XML format, and other than the syntax of XML documents there is no fixed specification - you use your own tags to specify the kind of data you are storing and transferring. XML is stored in plain-text documents, so any program which can read plain-text documents can read XML documents, but you will need to customize your software to support that tags you are using in your document. Setting up an XML document is simple:
<?xml version="1.0"?>
<chatmessage>
    <to>Chris</to>
    <from>Charles</from>
    <time>2009-10-9 12:53:07</time>
    <content>Remember to write the tutorials for the XML sections of the website</content>
</chatmessage>
This is an example snippet from an XML document which could be used in a simple chat application. The tags which we have used don't appear anywhere in the XML specification, we have customized them for our application!
Page Responses
Currently there have been no responses to this page...
If you have anything to contribute to this tutorial, found a bug, or know a better way of achieving the same goal, please leave your response below.
     
Copyright ©2009, Wired IDS Ltd. | Licensed under Creative Commons Attribution Share-Alike | Load time: 0.3043 seconds