Extensible Markup Language
Extensible Markup Language
EXtensible Markup
Language
WHAT IS XML?
•XML stands for extensible markup
language.
CONTACT
(root)
NAME EMAIL
(child) (child)
COMPONENTS OF XML
XML HTML
Extensible set of tags Fixed set of tags
Content orientated Presentation oriented
It is case sensitive. It is not case sensitive.
It is mandatory to It is not mandatory to
close all tags.
close all tags.
WHY XML?
• Richly structured documents.
• Data Identification
Tell you what kind of data you have
Can be used in different ways by different
applications
XML EXAMPLE
<BOOKS>
< id>
<author>Hull</author>
<title>California</title>
<year> 1995 </year>
</id>
<article>
<author>Su</author>
<title> Purdue</title>
</article>
</BOOKS>
BOOKS
id article
author year
author title
title
•Store data