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

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
🐬 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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Último (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
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...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

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