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