2. 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.
3. 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 .
4. • 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,<>.
5. 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.
6. What is HTML?
• HTML is a “Hyper text Markup
language”, a specific language of SGML
used on World Wide Web.
•
7. HTML
XML
HTML is for humans.
XML is for computers.
HTML describes web
XML describes data.
pages.
Tags and attributes are
predetermined and rigid.
You don’t want to see
error messages about the
web pages you visit.
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.
8. 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.
9. Documents Schema:• Document type definition(DTD)
• XML Schema
Querying and transformation
XPath
Xquery
•FLWOR E expressions
•Joins
•Nested Queries
•Sorting of Results
10. •Functions and Types
•Other Features
XSLT**
Application Program Interfaces
• Document Object Model(DOM)
• Simple API for XML(SAX)
• Storage of XML Data
11. 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
12. •SQL/XML
XML Applications
• Storing data with Complex Structure
• Standardized Data Exchange Formats
•Web Services
• Data Meditation
13. Advantages
• Self Documenting
• Makes your data more available
• Nested Structure
• Simplifies Platform Changes
•Simplifies Data Transport
•Simplifies data sharing
14. 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