0% found this document useful (0 votes)
55 views

E Tensible Arkup Anguage

XML is a markup language that was created as a simplified version of SGML. It allows users to define their own elements and tags to structure data in a text file. XML is commonly used to transfer data between systems, especially over the internet. It has several advantages including being human readable, platform independent, and extensible. Specific subsets of XML have also been created for different applications such as RSS feeds and publishing.

Uploaded by

Abidah Zulkifli
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views

E Tensible Arkup Anguage

XML is a markup language that was created as a simplified version of SGML. It allows users to define their own elements and tags to structure data in a text file. XML is commonly used to transfer data between systems, especially over the internet. It has several advantages including being human readable, platform independent, and extensible. Specific subsets of XML have also been created for different applications such as RSS feeds and publishing.

Uploaded by

Abidah Zulkifli
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

eXtensible Markup Language (XML)

HISTORY OF XML?
officially recommended by W3C since 1998
a simplified form of SGML (Standard Generalized
Markup Language)
primarily created by Jon Bosak of Sun Microsystems

XML
XML stands for eXtensible Markup Language.
A markup language is used to provide information about a
document
a meta language that allows you to create and format your own
document markups
a method for putting structured data into a text file; these files
are
- easy to read
- unambiguous
- extensible
- platform-independent
XML tags give a reader some idea what some of the data
means.
WHAT IS XML USED FOR?
XML documents are used to transfer data from one
place to another often over the Internet.
XML subsets are designed for particular applications.
One is RSS (Rich Site Summary or Really Simple
Syndication ). It is used to send breaking news
bulletins from one web site to another.
A number of fields have their own subsets. These
include chemistry, mathematics, and books
publishing.
Most of these subsets are registered with the
W3Consortium and are available for anyones use.

ADVANTAGES OF XML
XML is text (Unicode) based.
Takes up less space.
Can be transmitted efficiently.
One XML document can be displayed
differently in different media.
Html, video, CD, DVD,
You only have to change the XML document in
order to change all the rest.
XML documents can be modularized. Parts
can be reused.

Authoring XML
Elements
An XML element is made up of a start tag, an end
tag, and data in between.
Example:
<director> Matthew Dunn </director>
Example of another element with the same value:
<actor> Matthew Dunn </actor>
XML tags are case-sensitive:
<CITY> <City> <city>
XML can abbreviate empty elements, for example:
<married> </married> can be abbreviated to
<married/>
Comparisons
Extensible set of tags
Content orientated
Standard Data
infrastructure
Allows multiple
output forms

Fixed set of tags
Presentation oriented
No data validation
capabilities
Single presentation
XML
HTML

You might also like