SlideShare a Scribd company logo
XML  PRESENTATIONExtensionmarkuplanguageBY:Sachit Singhhttp://smartpassiveincomes.blogspot.com/
Content of presentationIntroduction
Comparison between XML AND HTML
XML SYNTAX
XML QUARIES AND MEDIATORS
Limitation of HTML
Challenges
Summery
http://smartpassiveincomes.blogspot.com/WHAT IS XML  XML- Extension markup language
 Markup language for document containing structured information
XML is define by four specification-
XML- Extension markup language
XLL- Extension link language
XSL- Extension Style or layout language
XUA- Extension USER agent http://smartpassiveincomes.blogspot.com/
XML…..XML is based on standard generalize markup language (SGML)
 XML Version 1.0 introduced by world wide web consortium (W3C) in 1998
Bridge for data exchange on the web http://smartpassiveincomes.blogspot.com/
XML                                             Extensible set of tagsContent orientedStandard data infrastructureAllows multiple output formsHTMLFixed set of tagsPresentation orientedNo data validation capabilitySingle presentationComparison http://smartpassiveincomes.blogspot.com/
Authoring XML ElementsAn XML element is made up of a start tag, an end tag, and data in between.Example:        <director> Prabhu Deva  </director>Example of another element with the same value:  	     <actor>  Salman Khan </actor>XML tags are case-sensitive:         <CITY>  <City>  <city>XML can abbreviate empty elementsfor example:    <married> </married> can be abbreviated to    <married/>http://smartpassiveincomes.blogspot.com/
Authoring XML Elements (cont’d)An attribute is a name-value pair separated by an equal sign (=).Example:      <City  ZIP=“400097”> Malad</City>Attributes are used to attach additional, secondary information to an element.http://smartpassiveincomes.blogspot.com/
Authoring XML DocumentsA basic XML document is an XML element that can, but might not, include nested XML elements.Example:    <books>          <book isbn=“123”>                 <title> C++ </title>                 <author> Bal Guru Swami </author>          </book>     </books>http://smartpassiveincomes.blogspot.com/
Authoring XML Documents (cont’d)Authoring guidelines:All elements must have an end tag.All elements must be cleanly nested (overlapping elements are not allowed).All attribute values must be enclosed in quotation marks.Each document must have a unique first element, the root node.http://smartpassiveincomes.blogspot.com/
Authoring XML Data IslandsA data island is an XML document that exists within an HTML page.
The <XML> element marks the beginning of the data island, and its ID attribute provides a name that you can use to reference the data island.http://smartpassiveincomes.blogspot.com/
Authoring XML Data Islands (cont’d)Example:    <XML ID=“XMLID”>          <customer>                  <name> Mithlesh Singh</name>                  <custID> 12345 </custID>          </customer>    </XML>http://smartpassiveincomes.blogspot.com/

More Related Content

PPT
XML and DTD
PPT
Introduction to XML
PPT
Xml 215-presentation
PPT
Web publishing and XHTML
PPTX
Xml dtd
PPT
10. XML in DBMS
PPT
Web Services Part 1
PPT
Design Tools Html Xhtml
XML and DTD
Introduction to XML
Xml 215-presentation
Web publishing and XHTML
Xml dtd
10. XML in DBMS
Web Services Part 1
Design Tools Html Xhtml

What's hot (20)

PPT
Introduction to XML
PDF
Introduction to XHTML
PPTX
PPT
2 dtd - validating xml documents
PDF
[Basic HTML/CSS] 1. html - basic tags
PPS
PPT
BasicHTML
PPT
4 xml namespaces and xml schema
PPT
Document Type Definition
PPT
Html Intro2
PPT
PPT
O9xml
PPT
Introduction to HTML
PPT
Html for Beginners
PPTX
XML's validation - DTD
Introduction to XML
Introduction to XHTML
2 dtd - validating xml documents
[Basic HTML/CSS] 1. html - basic tags
BasicHTML
4 xml namespaces and xml schema
Document Type Definition
Html Intro2
O9xml
Introduction to HTML
Html for Beginners
XML's validation - DTD
Ad

Viewers also liked (15)

PPT
ODP
Open Power Template 2 presentation
PPT
XML Training Presentation
PPT
XML and Databases
PDF
Intro to JSON
PDF
XML 101 presentation by Bill Kasdorf of Apex
PPT
Xml Presentation-1
PPTX
Functions using stack and heap
PPT
Xml Presentation-3
PPT
XML Databases
PPT
XML for beginners
PPTX
Xml ppt
PPT
Introduction à XML
Open Power Template 2 presentation
XML Training Presentation
XML and Databases
Intro to JSON
XML 101 presentation by Bill Kasdorf of Apex
Xml Presentation-1
Functions using stack and heap
Xml Presentation-3
XML Databases
XML for beginners
Xml ppt
Introduction à XML
Ad

Similar to What is xml (20)

PPT
PPT
PPT
PPTX
Mdst 3559-02-01-html
PPT
[DSBW Spring 2010] Unit 10: XML and Web And beyond
PPS
PPT
XML and XSLT
PPT
Lotusphere 2006 AD212 Introduction to DXL
PPT
Xml Schema
PPTX
Class2
PPT
3 xml namespaces and xml schema
PPT
Xml 215-presentation
PPT
Intro XML for archivists (2011)
PPTX
PPT
Processing XML with Java
PPT
PPTX
Xml For Dummies Chapter 8 Understanding And Using Dt Ds it-slideshares.blog...
PPT
Everything You Always Wanted To Know About XML But Were Afraid To Ask
PPT
Xml Zoe
PPT
Xml Zoe
Mdst 3559-02-01-html
[DSBW Spring 2010] Unit 10: XML and Web And beyond
XML and XSLT
Lotusphere 2006 AD212 Introduction to DXL
Xml Schema
Class2
3 xml namespaces and xml schema
Xml 215-presentation
Intro XML for archivists (2011)
Processing XML with Java
Xml For Dummies Chapter 8 Understanding And Using Dt Ds it-slideshares.blog...
Everything You Always Wanted To Know About XML But Were Afraid To Ask
Xml Zoe
Xml Zoe

Recently uploaded (20)

PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
Cell Structure & Organelles in detailed.
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
RMMM.pdf make it easy to upload and study
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Complications of Minimal Access Surgery at WLH
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
Supply Chain Operations Speaking Notes -ICLT Program
2.FourierTransform-ShortQuestionswithAnswers.pdf
O7-L3 Supply Chain Operations - ICLT Program
01-Introduction-to-Information-Management.pdf
Pharma ospi slides which help in ospi learning
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
STATICS OF THE RIGID BODIES Hibbelers.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Cell Structure & Organelles in detailed.
Microbial diseases, their pathogenesis and prophylaxis
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
RMMM.pdf make it easy to upload and study
Module 4: Burden of Disease Tutorial Slides S2 2025
Complications of Minimal Access Surgery at WLH
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Microbial disease of the cardiovascular and lymphatic systems
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Cell Types and Its function , kingdom of life
Supply Chain Operations Speaking Notes -ICLT Program

What is xml

  • 1. XML PRESENTATIONExtensionmarkuplanguageBY:Sachit Singhhttp://smartpassiveincomes.blogspot.com/
  • 5. XML QUARIES AND MEDIATORS
  • 10. Markup language for document containing structured information
  • 11. XML is define by four specification-
  • 14. XSL- Extension Style or layout language
  • 15. XUA- Extension USER agent http://smartpassiveincomes.blogspot.com/
  • 16. XML…..XML is based on standard generalize markup language (SGML)
  • 17. XML Version 1.0 introduced by world wide web consortium (W3C) in 1998
  • 18. Bridge for data exchange on the web http://smartpassiveincomes.blogspot.com/
  • 19. XML Extensible set of tagsContent orientedStandard data infrastructureAllows multiple output formsHTMLFixed set of tagsPresentation orientedNo data validation capabilitySingle presentationComparison http://smartpassiveincomes.blogspot.com/
  • 20. Authoring XML ElementsAn XML element is made up of a start tag, an end tag, and data in between.Example: <director> Prabhu Deva </director>Example of another element with the same value: <actor> Salman Khan </actor>XML tags are case-sensitive: <CITY> <City> <city>XML can abbreviate empty elementsfor example: <married> </married> can be abbreviated to <married/>http://smartpassiveincomes.blogspot.com/
  • 21. Authoring XML Elements (cont’d)An attribute is a name-value pair separated by an equal sign (=).Example: <City ZIP=“400097”> Malad</City>Attributes are used to attach additional, secondary information to an element.http://smartpassiveincomes.blogspot.com/
  • 22. Authoring XML DocumentsA basic XML document is an XML element that can, but might not, include nested XML elements.Example: <books> <book isbn=“123”> <title> C++ </title> <author> Bal Guru Swami </author> </book> </books>http://smartpassiveincomes.blogspot.com/
  • 23. Authoring XML Documents (cont’d)Authoring guidelines:All elements must have an end tag.All elements must be cleanly nested (overlapping elements are not allowed).All attribute values must be enclosed in quotation marks.Each document must have a unique first element, the root node.http://smartpassiveincomes.blogspot.com/
  • 24. Authoring XML Data IslandsA data island is an XML document that exists within an HTML page.
  • 25. The <XML> element marks the beginning of the data island, and its ID attribute provides a name that you can use to reference the data island.http://smartpassiveincomes.blogspot.com/
  • 26. Authoring XML Data Islands (cont’d)Example: <XML ID=“XMLID”> <customer> <name> Mithlesh Singh</name> <custID> 12345 </custID> </customer> </XML>http://smartpassiveincomes.blogspot.com/
  • 27. Document Type Definitions (DTD)An XML document may have an optional DTD.
  • 28. DTD serves as grammar for the underlying XML document, and it is part of XML language.
  • 29. DTDs are somewhat unsatisfactory, but no consensus exists so far beyond the basic DTDs.
  • 30. DTD has the form: <!DOCTYPE name [markupdeclaration]>http://smartpassiveincomes.blogspot.com/
  • 31. DTD (cont’d)Consider an XML document: <db><person><name>Mithlesh Singh</name> <age>18</age> <email>mith@gmail.com </email> </person> <person>………</person> ………. </db>http://smartpassiveincomes.blogspot.com/
  • 32. DTD (cont’d)DTD for it might be: <!DOCTYPE db [ <!ELEMENT db (person*)> <!ELEMENT person (name, age, email)> <!ELEMENT name (#PCDATA)> <!ELEMENT age (#PCDATA)> <!ELEMENT email (#PCDATA)> ]>
  • 34. XML Query LanguagesThe first XML query languagesLOREL (Stanford)XQLSeveral other query languages have been developed (e.g. UNQL, XPath)XML-QL considered by W3C for standardizationCurrently W3C is considering and working on a new query language: XQueryhttp://smartpassiveincomes.blogspot.com/
  • 35. A Query Language for XML: XML-QLDeveloped at AT&T labs
  • 36. To extract data from the input XML data
  • 37. Has variables to which data is bound and templates which show how the output XML data is to be constructed
  • 38. Uses the XML syntax
  • 39. Based on a where/construct syntaxWhere combines from and where parts of SQLConstruct corresponds to SQL’s select
  • 40. XML-QL Query: Example 1Retrieve all authors of books published by Bal guru swami: where <book> <publisher><name> Bal Guru Swami </name> </publisher> <title> $T </title> <author> $A </author> </book> in “www.a.b.c/abc.xml” construct <result> $A </result>
  • 41. XML-QL Query: Example 2XML-QL query asking for all bookstores that sell The C++ Programming Language for under $25:where <store> <name> $N </name> <book> <title> The C++ Programming Language </title> <price> $P </price> </book> </store> in “www.store/abc.xml” $P < 25construct <result> $N </result>
  • 42. Semi structured Data and MediatorsSemi structured data is often encountered in data exchange and integration
  • 43. At the sources the data may be structured (e.g. from relational databases)
  • 44. We model the data as semi structured to facilitate exchange and integration
  • 45. Users see an integrated semi structured view that they can query
  • 46. Queries are eventually reformulated into queries over the structured resources (e.g. SQL)
  • 47. Only results need to be materializedWhat is a mediator ?A complex software component that integrates and transforms data from one or several sources using a declarative specification
  • 48. Two main contexts:Data conversion: converts data between two different modelse.g. by translating data from a relational database into XMLData integration: integrates data from different sources into a common view
  • 49. pricestockStoreBookStoreBookauthorsnamebidphonetitlesidConverting Relational Database to XMLExample: Export the following data into XML and group books by storeRelational Database: Store (sid, name, phone) Book (bid, title, authors)StoreBook (sid, bid, price, stock)
  • 50. Converting Relational Database to XML (Cont’d)XML: <store> <name> … </name> <phone> … </phone> <book> <title>… </title> <authors> … </authors> <price> … </price> </book> <book>…</book> … </store>
  • 51. Limitation of HTMLLimitations of HTML – Structure of data expressed as layout – Semantics of data hard to analyze and difficult to share – No schemas, no constraints Thus XML (extensible Markup Language) has been developed – Markup language to define structured documents – Document schemas to fix the structure of documents – User-defined markup to express semantics – XML architecture for processing and extended functionality
  • 58. And many more……THANK YOUTHANKS FOR HEARING ME http://smartpassiveincomes.blogspot.com/