18
XML The Overview

XML

Embed Size (px)

DESCRIPTION

XML. The Overview. Three Key Questions. What is XML? What Problems does it solve? Where and how is it used?. What XML IS. eXtensible A set of rules for creating and implementing markup languages that describe the structure of various kinds of documents and data Unicode text documents - PowerPoint PPT Presentation

Citation preview

Page 1: XML

XML The Overview

Page 2: XML

Three Key Questions• What is XML?

• What Problems does it solve?

• Where and how is it used?

Page 3: XML

What XML IS• eXtensible • A set of rules for creating and implementing

markup languages that describe the structure of various kinds of documents and data

• Unicode text documents• A cross platform, long term data format

Page 4: XML

What XML Is Not• A programming language

• A network transport protocol (such as http or TCP/IP)

• A database

• A replacement of HTML

• The cure to all evils

Page 5: XML

What Problems Does it Solve• It provides a standardized method of communicating

data between systems, browsers and applications• Provides the flexibility to describe and structure

different kinds of data• It separates data description from data display• It provides a humanly readable format for document

persistence

Page 6: XML

Where it is Used• The short answer is everywhere

• Ebusiness • Browsers (cdf)• Wireless (wml)• Math (Mathml) , chemistry, biology• Software description (OSD)• Multimedia (SML)• Graphics (SVG)• .Net

Page 7: XML

How it is Used• Document transference

• Data processing and persistence

• Application messaging

Page 8: XML

One document Many Outputs

XSLT

Page 9: XML

Messaging

Messaging

Data Sharing

Soap

Page 10: XML

Data Persistence

XML provides a data format that is humanly readable if necessary

Even if the originating program is lost or unavailable, it is relatively easy to write a program to parse and access the data from an XML file

Page 11: XML

A Brief History• SGML ISO standard in 1986• HTML (an SGML application 1990)• 1996 work on a “lite” version of SGML• 1998 XML 1.0 a W3C recommendation• Since then several XML “applications” : XSLT,

XPATH, XLINK, XML Schema, etc.

Page 12: XML

W3C.org• The World Wide Web Consortium

• http://www.w3c.org

• Levels of specification• Working drafts• Candidate Recommendations• Proposed Recommendations• Recommendations

Page 13: XML

W3C Goals for XML• XML shall be straightforwardly usable over the

Internet

• XML shall support a variety of applications

• XML shall be compatible with SGML

• It shall be easy to write programs that process XML

Page 14: XML

Goals Continued• The number of optional features in XML is to be

kept to a minimum, ideally zero

• XML documents should be humanly legible and reasonably clear

• XML design should be prepared quickly

Page 15: XML

Goals Continued• The design of XML should be formal and

concise

• Terseness in XML markup is of minimal importance

• XML documents shall be easy to create

Page 16: XML

XML Compared to HTML• HTML

• Pre-established set of elements

• Mixes display with structure

• Loose and forgiving syntax

• Ascii• Case insensitive

• XML• Extensible (open) set of

elements• Separates display from

structure• Strict syntactical structure• Unicode• Case sensitive

Page 17: XML

XML 1.1• A new recommendation for the XML core

standard was issued in February 2004.

• Because of changes in Unicode, XML names were changed so that everything that is not forbidden is allowed (was only what was specified was allowed)

Page 18: XML

XML 1.1 continued• New characters added for compatibility with

IBM mainframes, and Unicode.

• Not major changes, but does change the definition of “well-formed” so the new standard was developed.