SlideShare una empresa de 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

Más contenido relacionado

La actualidad más candente

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
 

La actualidad más candente (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
 

Destacado

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
 

Destacado (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)
 

Similar 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

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 

Último (20)

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 

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