XML Tutorial #2: Basic example of code

<?xml version=”1.0″ encoding=”utf-8″?>
<name>Teach Yourself C</name>
<author>Herberd Schield</author>
<name>Teach Yourself C++</name>
<author>Herberd Schield</author>
This is how to comment on XML .. same as HTML comment ..
This is a example of Basic syntax how to write XML code … the tag <booklist> is called the root … and remain tags are called child of the root tag ..

How save and show and XML code :
At first open up a notepad/wordpad then write this code changed the file name into anything but do not forget to change extension into .xml .. Now open it into your browser that will show the same code as well cause it is xml .. its only store the data …

By kfelahi Posted in XML

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s