Académique Documents
Professionnel Documents
Culture Documents
CHAPTER 1
INTRODUCTION TO
XML
Introduction to XML
Introduction to XML
Differences Between XML, SGML,
HTML
Uses of XML
Standard XML Applications
Introduction to XML
What is XML?
What are the elements in XML?
What are the XML Technologies
What is XML?
What is XML?
XML Environment
XML History
XML History
XML History
XML History
Elements.
The basic building block of XML markups.
Attributes.
Information regarding the element.
Processing Instruction.
Allow documents to contain instructions for
applications.
Comments.
Anis Shobirin Bt Abdullah Sani
XML Declaration
XML Document
Example 1
Example 2
<?xml version=1.0/>
<address>
<name>Alice Lee</name>
<email>alee@aol.com</email>
<phone>212-346-1234</phone>
<birthday>1985-03-22</birthday>
</address>
XML Technologies
DTD/Schema
definition of XML structures
XPath
locating nodes
Xlink, Xpointer
linking
Introduction to XML
What is SGML?
SGML (Standard Generalized Markup Language) is a
document language,
but a description of
how to specify one.
It is metadata.
Anis Shobirin Bt Abdullah Sani
What is HTML?
HTML (Hypertext Markup Language) is the set of
code is referred to as an
element (but many people
also refer to it as a tag).
Anis Shobirin Bt Abdullah Sani
XML
XML is semantic
markup for
interoperability (define
your own tags).
HTML
HTML is visual
markup for
presentation
(predefined tags).
XML will not replace SGML or HTML. It addresses a new market integration.
Introduction to XML
XML is well-documented.
Introduction to XML
Standard XML
Applications
Web publishing:
XML allows you to create interactive pages, allows the
customer to customize those pages, and makes creating ecommerce applications more intuitive.
General applications:
XML provides a standard method to access information,
Standard XML
Applications
e-business applications:
XML implementations make electronic data interchange (EDI)
more accessible for information interchange, business-tobusiness transactions, and business-to-consumer transactions.
Metadata applications:
XML makes it easier to express metadata in a portable,
reusable format.
Pervasive computing:
XML provides portable and structured information types for
Thank You