SlideShare uma empresa Scribd logo
1 de 11
XML
By Elizabeth Wiley
eXtensible Markup Language
 Became a W3C recommendation in 1998

 Subset of SGML (Standard Generalized Markup
  Language)

 Describes a class of data objects called XML documents

 Metalanguage (language for describing other
  languages)

 Tags are not predefined, designed to be self-prescriptive

“XML is a software- and hardware-dependent tool for
carrying information.”4
The goal of XML:                Why?
To enable generic SGML to be     Browsers never allowed
served, received, and             SGML
processed on the Web in a
way that is not possible with    HTML is easy to corrupt or
                                  break
HTML. XML has been designed
to operate with both SGML          Widespread
and HTML.                          Held back
                                     development

                                 XML fixes that by creating
                                  compulsory rules
The Basics

 XML documents consist entirely of characters from
  Unicode (not all Unicode characters are included).

 Characters that make up XML are divided into markup
  and content.

 Unicode character sets are encoded into bytes for
  storage or transmission.

 The processor analyses the markup and passes structured
  information to an application.
XML Document

 Begins with XML declaration and document type
  declaration

 Followed by Document Instance, containing root
  element (start/end tags) and elements enclosing the
  data content (text) and any attributes („name=“value”‟
  pairs)

 Documents can be simple, with straightforward nested
  markup, or more complicated with Schema or DTD
  (describe structure of the document)
Schema and DTD (Document Type Definition)

 Define the allowed parts of an XML document:
   The elements and attributes that can appear
      Data types, default and fixed values
   Identify child elements, and their order and number
   Whether an element is empty or includes text

 Schemas are the successors of DTDs
   Extensible to future additions, richer and more
    powerful, support data types and namespaces, written in
    XML
   XML Schema became a W3C recommendation in 2001
Stylesheets (CSS and XMLT)

 Transform XML into HTML

 Allow for document management benefits of XML, but
  readers don‟t need XML smarts in their browsers

 XMLT is an document processing language that uses XML
  source code

 Declares rules for processor to use when interpreting XML
  document
Browsers

Current versions of Internet Explorer, Firefox, Safari,
Chrome, and Opera all support XML with CSS or
XSLT stylesheets.

Does not work with any versions of Netscape, IE
6.0 or earlier, or early versions of Mozilla.
The Difference

XML                           HMTL
 Designed to transport and    Designed to display data
  store data
                               Focuses on how data looks
 Focuses on what data is



XHTML is “a reformulation of HTML 4 in XML
1.0”
HTML5
 Intended to include HTML and XHTML

 XHTML5 is an XML serialization of HTML5, meaning the
  data structure or object state is converted into a form
  that can be stored.
Sources

1   http://xml.silmaril.ie/

2   http://xml.coverpages.org/xml.html

3   http://en.wikipedia.org/wiki/XML

4   http://www.w3schools.com/xml/xml_whatis.asp

5   http://www.w3schools.com/Schema/schema_intro.asp

6   http://en.wikipedia.org/wiki/Serialization

7   http://en.wikipedia.org/wiki/HTML5#XHTML5

Mais conteúdo relacionado

Mais procurados

EXtensible Markup Language
EXtensible Markup LanguageEXtensible Markup Language
EXtensible Markup LanguagePrabhat gangwar
 
Intro XML for archivists (2011)
Intro XML for archivists (2011)Intro XML for archivists (2011)
Intro XML for archivists (2011)Jane Stevenson
 
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3Sudharsan S
 
XML - EXtensible Markup Language
XML - EXtensible Markup LanguageXML - EXtensible Markup Language
XML - EXtensible Markup LanguageReem Alattas
 
Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)AakankshaR
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XMLKumar
 
eXtensible Markup Language (By Dr.Hatem Mohamed)
eXtensible Markup Language (By Dr.Hatem Mohamed)eXtensible Markup Language (By Dr.Hatem Mohamed)
eXtensible Markup Language (By Dr.Hatem Mohamed)MUFIX Community
 
XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)
XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)
XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)Beat Signer
 
Xml tutorial
Xml tutorialXml tutorial
Xml tutorialIT
 

Mais procurados (20)

EXtensible Markup Language
EXtensible Markup LanguageEXtensible Markup Language
EXtensible Markup Language
 
Intro XML for archivists (2011)
Intro XML for archivists (2011)Intro XML for archivists (2011)
Intro XML for archivists (2011)
 
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3
 
Intro xml
Intro xmlIntro xml
Intro xml
 
What is xml
What is xmlWhat is xml
What is xml
 
XML - EXtensible Markup Language
XML - EXtensible Markup LanguageXML - EXtensible Markup Language
XML - EXtensible Markup Language
 
XML
XMLXML
XML
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Xml
XmlXml
Xml
 
Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Sgml and xml
Sgml and xmlSgml and xml
Sgml and xml
 
eXtensible Markup Language (By Dr.Hatem Mohamed)
eXtensible Markup Language (By Dr.Hatem Mohamed)eXtensible Markup Language (By Dr.Hatem Mohamed)
eXtensible Markup Language (By Dr.Hatem Mohamed)
 
Xml ppt
Xml pptXml ppt
Xml ppt
 
Xml presentation
Xml presentationXml presentation
Xml presentation
 
XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)
XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)
XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)
 
Xml applications
Xml applicationsXml applications
Xml applications
 
Xml tutorial
Xml tutorialXml tutorial
Xml tutorial
 
Xml
XmlXml
Xml
 
light_xml
light_xmllight_xml
light_xml
 

Destaque

Brown vs bixby case
Brown vs bixby caseBrown vs bixby case
Brown vs bixby casepeachz94
 
Brown Bag Presentation 9-11-11
Brown Bag Presentation 9-11-11Brown Bag Presentation 9-11-11
Brown Bag Presentation 9-11-11Ben Lee
 
Social Media Assignment - Personal Brand
Social Media Assignment - Personal BrandSocial Media Assignment - Personal Brand
Social Media Assignment - Personal BrandShaunaODonovan
 
χρωμοθεραπεία 2
χρωμοθεραπεία 2χρωμοθεραπεία 2
χρωμοθεραπεία 2elnasika
 
Best e mailof the month - june 2012 (2)
Best e mailof the month - june 2012 (2)Best e mailof the month - june 2012 (2)
Best e mailof the month - june 2012 (2)elnasika
 

Destaque (7)

Bajka
BajkaBajka
Bajka
 
Brown vs bixby case
Brown vs bixby caseBrown vs bixby case
Brown vs bixby case
 
Brown Bag Presentation 9-11-11
Brown Bag Presentation 9-11-11Brown Bag Presentation 9-11-11
Brown Bag Presentation 9-11-11
 
Social Media Assignment - Personal Brand
Social Media Assignment - Personal BrandSocial Media Assignment - Personal Brand
Social Media Assignment - Personal Brand
 
Team prestige
Team prestigeTeam prestige
Team prestige
 
χρωμοθεραπεία 2
χρωμοθεραπεία 2χρωμοθεραπεία 2
χρωμοθεραπεία 2
 
Best e mailof the month - june 2012 (2)
Best e mailof the month - june 2012 (2)Best e mailof the month - june 2012 (2)
Best e mailof the month - june 2012 (2)
 

Semelhante a XML (20)

Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
Introducing xml
Introducing xmlIntroducing xml
Introducing xml
 
Oracle soa xml faq
Oracle soa xml faqOracle soa xml faq
Oracle soa xml faq
 
XML Introduction
XML IntroductionXML Introduction
XML Introduction
 
Jaxp Xmltutorial 11 200108
Jaxp Xmltutorial 11 200108Jaxp Xmltutorial 11 200108
Jaxp Xmltutorial 11 200108
 
XML1.pptx
XML1.pptxXML1.pptx
XML1.pptx
 
Xml iet 2015
Xml iet 2015Xml iet 2015
Xml iet 2015
 
eXtensible Markup Language
eXtensible Markup LanguageeXtensible Markup Language
eXtensible Markup Language
 
Module 5 XML Notes.pdf
Module 5 XML Notes.pdfModule 5 XML Notes.pdf
Module 5 XML Notes.pdf
 
Xml programming language myassignmenthelp.net
Xml programming  language myassignmenthelp.netXml programming  language myassignmenthelp.net
Xml programming language myassignmenthelp.net
 
XML | Computer Science
XML | Computer ScienceXML | Computer Science
XML | Computer Science
 
XML/XSLT
XML/XSLTXML/XSLT
XML/XSLT
 
Xml
XmlXml
Xml
 
XML
XMLXML
XML
 
E05412327
E05412327E05412327
E05412327
 
Full xml
Full xmlFull xml
Full xml
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processor
 
CTDA Workshop on XML and MODS
CTDA Workshop on XML and MODSCTDA Workshop on XML and MODS
CTDA Workshop on XML and MODS
 
Xml
XmlXml
Xml
 
XML - Extensive Markup Language
XML - Extensive Markup LanguageXML - Extensive Markup Language
XML - Extensive Markup Language
 

Último

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Último (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

XML

  • 2. eXtensible Markup Language  Became a W3C recommendation in 1998  Subset of SGML (Standard Generalized Markup Language)  Describes a class of data objects called XML documents  Metalanguage (language for describing other languages)  Tags are not predefined, designed to be self-prescriptive “XML is a software- and hardware-dependent tool for carrying information.”4
  • 3. The goal of XML: Why? To enable generic SGML to be  Browsers never allowed served, received, and SGML processed on the Web in a way that is not possible with  HTML is easy to corrupt or break HTML. XML has been designed to operate with both SGML  Widespread and HTML.  Held back development  XML fixes that by creating compulsory rules
  • 4. The Basics  XML documents consist entirely of characters from Unicode (not all Unicode characters are included).  Characters that make up XML are divided into markup and content.  Unicode character sets are encoded into bytes for storage or transmission.  The processor analyses the markup and passes structured information to an application.
  • 5. XML Document  Begins with XML declaration and document type declaration  Followed by Document Instance, containing root element (start/end tags) and elements enclosing the data content (text) and any attributes („name=“value”‟ pairs)  Documents can be simple, with straightforward nested markup, or more complicated with Schema or DTD (describe structure of the document)
  • 6. Schema and DTD (Document Type Definition)  Define the allowed parts of an XML document:  The elements and attributes that can appear  Data types, default and fixed values  Identify child elements, and their order and number  Whether an element is empty or includes text  Schemas are the successors of DTDs  Extensible to future additions, richer and more powerful, support data types and namespaces, written in XML  XML Schema became a W3C recommendation in 2001
  • 7. Stylesheets (CSS and XMLT)  Transform XML into HTML  Allow for document management benefits of XML, but readers don‟t need XML smarts in their browsers  XMLT is an document processing language that uses XML source code  Declares rules for processor to use when interpreting XML document
  • 8. Browsers Current versions of Internet Explorer, Firefox, Safari, Chrome, and Opera all support XML with CSS or XSLT stylesheets. Does not work with any versions of Netscape, IE 6.0 or earlier, or early versions of Mozilla.
  • 9. The Difference XML HMTL  Designed to transport and  Designed to display data store data  Focuses on how data looks  Focuses on what data is XHTML is “a reformulation of HTML 4 in XML 1.0”
  • 10. HTML5  Intended to include HTML and XHTML  XHTML5 is an XML serialization of HTML5, meaning the data structure or object state is converted into a form that can be stored.
  • 11. Sources 1 http://xml.silmaril.ie/ 2 http://xml.coverpages.org/xml.html 3 http://en.wikipedia.org/wiki/XML 4 http://www.w3schools.com/xml/xml_whatis.asp 5 http://www.w3schools.com/Schema/schema_intro.asp 6 http://en.wikipedia.org/wiki/Serialization 7 http://en.wikipedia.org/wiki/HTML5#XHTML5