15

Click here to load reader

Xml

Embed Size (px)

Citation preview

Page 1: Xml

XMl

Extensible

Markup

LanguageKiran

A -6

D1111

Page 2: Xml

History :-

• XML is designed to carry data, not to

display data.

• It has its roots in document

management and is derived from SGML

•It is officially recommended by W3C.

Page 3: Xml

What is XML?

• XML means “Extensible Markup

Language”, is a markup language

much like “HTML”.

• It is designed to transport and

store data and a method for putting

structured data into a text file .

Page 4: Xml

• Enables you to create and format your

own documents markup.

• The term markup refers to anything

that is not intended to be part of the

printed output.

• The markup takes the form of tags

enclosed in angle brackets,<>.

Page 5: Xml

What is SGML?

• SGML is a international standard for

defining descriptions of the structure

and content of different types of

electronic documents.

• A universal language used to describe

thousands of different data types.

Page 6: Xml

What is HTML?

• HTML is a “Hyper text Markup

language”, a specific language of SGML

used on World Wide Web.

Page 7: Xml

HTML

HTML is for humans.

HTML describes web pages.

Tags and attributes are predetermined and rigid.

You don’t want to see error messages about the web pages you visit.

XML

XML is for computers.

XML describes data.

Allows user to specify what each tag and attribute.

The rules are strict and errors are not allowed, in this way XML is like a programming language.

Page 8: Xml

XML Facts:-

• important because it removes two

constraints which were holding back

Web development:

• Dependence on a single, inflexible

document type (HTML).

• The complexity of full SGML, whose

syntax allows many powerful but

hard-to-program options.

Page 9: Xml

Documents Schema:-

• Document type definition(DTD)

• XML Schema

Querying and transformation

XPath

Xquery

•FLWOR E expressions

•Joins

•Nested Queries

•Sorting of Results

Page 10: Xml

•Functions and Types

•Other Features

XSLT**

Application Program Interfaces

• Document Object Model(DOM)

• Simple API for XML(SAX)

• Storage of XML Data

Page 11: Xml

Storage of XML Data:-

•Non -relational Data Stores

• Relational Databases

•Store as String

•Tree Representation

•Map to relations

•Publishing and Shredding XML Data

•Native Storage

Page 12: Xml

•SQL/XML

XML Applications

• Storing data with Complex Structure

• Standardized Data Exchange Formats

•Web Services

• Data Meditation

Page 13: Xml

Advantages

• Self Documenting

• Makes your data more available

• Nested Structure

• Simplifies Platform Changes

•Simplifies Data Transport

•Simplifies data sharing

Page 14: Xml

XML Syntax rules

• All XML elements must have a closing tags

• XML Tags are case sensitive

• XML Elements must be properly nested

• XML documents must have a Root

Element

Page 15: Xml

Thanx