SlideShare a Scribd company logo
1 of 9
Introduction and Overview of
XML
Objectives
• Explain what XML is and the need for XML
• Know other markup languages – SGML, HTML,
XHTML
• Understand the difference between SGML,
HTML and XML
• Know the various applications of XML
• Know the pros and cons of XML
XML
• XML stands for Extensible Markup Language.
• XML is a tool for data transportation and data
storage in platform and language neutral way.
• XML plays an important role in the exchange of a
wide variety of data on the web
• XML defines set of rules for encoding documents
which is both human-readable and machine-
readable
• All rules are defined in XML 1.0 specification
developed by W3C an open standard
• Many Parsers or APIs(Application Programming
Interface) are available to process the XML data
History of XML
• W3C’s primary goals is to make the Web universally
accessible—regardless of disabilities, language, culture, etc
• Internet is a collection of interconnected computers
• DARPANET (Defense Advanced Research Project Agency
Network) was the first network to interconnect academic,
government and private research organizations
• Initially, internet used for sending electronic messages and
transferring files.
• FTP(File Transfer Protocol) allows people to request files
from the other system
• Limitation
– what format the files requested would be in and
– Can the file be processed
Contd.
• CERN browser
– Used to request files over the internet and display
them in a predefined format
– Uses
• HTTP (Hyper Text Transfer Protocol) and
• HTML(Hyper text markup language)
• Presentation details cannot be transferred as they
are coded in the machine specific manner that may
not be understood at the receiving end
Contd.
• Standardized Generalized Markup Language (SGML) -
allows information about the document's structure to be
preserved
• DSSSL – Document style semantics and specification
language
• SGML is used to specify mark up languages.
• The purpose of SGML is to create the vocabularies which
could be used to mark up documents with structural tags.
• HTML - one of the most popular applications of SGML
• HTML - mark up language used for presentation i.e. design
a webpage
• HTML - All tags predefined
Contd.
• Limitation of HTML
– Data storage and interchange of data is not
possible using HTML
– All tags are predefined
• XML bridges this gap
– human readable, while being flexible enough to
support platform and
– architecture independent data interchange
SGML vs HTML vs XML
• HTML allows hypertext links to be specified,
SGML does not allow any hyper text links
• HTML is used for presentation, not the meaning
of the data content,
XML describes the meaning of the document
• HTML is not extensible,
XML is highly extensible
Semi Structured Data
• Data may be
– Structured
– Unstructured
– Raw data
• Text Database – Unstructured
• Text Mark Up – Mark-up languages
• SGML – meta language
• HTML – markup language with predefined
tags

More Related Content

What's hot

Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3
Sudharsan S
 

What's hot (20)

XML - EXtensible Markup Language
XML - EXtensible Markup LanguageXML - EXtensible Markup Language
XML - EXtensible Markup Language
 
02 well formed and valid documents
02 well formed and valid documents02 well formed and valid documents
02 well formed and valid documents
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Xml presentation
Xml presentationXml presentation
Xml presentation
 
Understanding XML DOM
Understanding XML DOMUnderstanding XML DOM
Understanding XML DOM
 
HTML and XML Difference FAQs
HTML and XML Difference FAQsHTML and XML Difference FAQs
HTML and XML Difference FAQs
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processor
 
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
XmlXml
Xml
 
Xml schema
Xml schemaXml schema
Xml schema
 
XML-Extensible Markup Language
XML-Extensible Markup Language XML-Extensible Markup Language
XML-Extensible Markup Language
 
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
 
Intro xml
Intro xmlIntro xml
Intro xml
 
Markup Languages
Markup Languages Markup Languages
Markup Languages
 
Xml basics for beginning
Xml basics for beginningXml basics for beginning
Xml basics for beginning
 
EXtensible Markup Language
EXtensible Markup LanguageEXtensible Markup Language
EXtensible Markup Language
 
Dom parser
Dom parserDom parser
Dom parser
 
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3
 
Dtd
DtdDtd
Dtd
 

Viewers also liked

Cloud Computing
 Cloud Computing Cloud Computing
Cloud Computing
Abdul Aslam
 
Informatica PowerAnalyzer 4.0 3 of 3
Informatica PowerAnalyzer 4.0 3 of 3Informatica PowerAnalyzer 4.0 3 of 3
Informatica PowerAnalyzer 4.0 3 of 3
ganblues
 
Dataware housing
Dataware housingDataware housing
Dataware housing
work
 
Relational algebra1
Relational algebra1Relational algebra1
Relational algebra1
Tianlu Wang
 
Job analysis of a reporter
Job analysis of a reporterJob analysis of a reporter
Job analysis of a reporter
Abdul Aslam
 
Triggers
TriggersTriggers
Triggers
work
 
Data Warehouse
Data WarehouseData Warehouse
Data Warehouse
ganblues
 

Viewers also liked (18)

Cloud Computing
 Cloud Computing Cloud Computing
Cloud Computing
 
Informatica PowerAnalyzer 4.0 3 of 3
Informatica PowerAnalyzer 4.0 3 of 3Informatica PowerAnalyzer 4.0 3 of 3
Informatica PowerAnalyzer 4.0 3 of 3
 
Dataware housing
Dataware housingDataware housing
Dataware housing
 
Relational algebra1
Relational algebra1Relational algebra1
Relational algebra1
 
Informatica PowerAnalyzer 4.0 2 of 3
Informatica PowerAnalyzer 4.0 2 of 3Informatica PowerAnalyzer 4.0 2 of 3
Informatica PowerAnalyzer 4.0 2 of 3
 
Spm report
Spm reportSpm report
Spm report
 
Leadership
LeadershipLeadership
Leadership
 
Applications
ApplicationsApplications
Applications
 
Chain Reactions
Chain ReactionsChain Reactions
Chain Reactions
 
Extracting data from xml
Extracting data from xmlExtracting data from xml
Extracting data from xml
 
Job analysis of a reporter
Job analysis of a reporterJob analysis of a reporter
Job analysis of a reporter
 
Android structure
Android structureAndroid structure
Android structure
 
Ch03
Ch03Ch03
Ch03
 
Android tutorial (2)
Android tutorial (2)Android tutorial (2)
Android tutorial (2)
 
Triggers
TriggersTriggers
Triggers
 
Software Testing Tool Report
Software Testing Tool ReportSoftware Testing Tool Report
Software Testing Tool Report
 
Data Warehouse
Data WarehouseData Warehouse
Data Warehouse
 
Mendelian Randomisation
Mendelian RandomisationMendelian Randomisation
Mendelian Randomisation
 

Similar to Introduction to XML

Introducing xml
Introducing xmlIntroducing xml
Introducing xml
Raghu nath
 
Xml data transformation
Xml data transformationXml data transformation
Xml data transformation
Raghu nath
 

Similar to Introduction to XML (20)

Xml
XmlXml
Xml
 
Xml plymouth
Xml plymouthXml plymouth
Xml plymouth
 
xml and xhtml.pptx
xml and xhtml.pptxxml and xhtml.pptx
xml and xhtml.pptx
 
Introducing xml
Introducing xmlIntroducing xml
Introducing xml
 
Web data management
Web data managementWeb data management
Web data management
 
Java Web Services
Java Web ServicesJava Web Services
Java Web Services
 
Xml data transformation
Xml data transformationXml data transformation
Xml data transformation
 
Differences between HTML and XML.pdf
Differences between HTML and XML.pdfDifferences between HTML and XML.pdf
Differences between HTML and XML.pdf
 
Xml
XmlXml
Xml
 
Tutor Xml Gxs
Tutor Xml GxsTutor Xml Gxs
Tutor Xml Gxs
 
Introduction to XML.ppt
Introduction to XML.pptIntroduction to XML.ppt
Introduction to XML.ppt
 
Introduction to XML.ppt
Introduction to XML.pptIntroduction to XML.ppt
Introduction to XML.ppt
 
Extensible markup language ppt as part of Internet Technology
Extensible markup language ppt as part of Internet TechnologyExtensible markup language ppt as part of Internet Technology
Extensible markup language ppt as part of Internet Technology
 
EXTENSIBLE MARKUP LANGUAGE BY SAIKIRAN PANJALA
EXTENSIBLE MARKUP LANGUAGE BY SAIKIRAN PANJALAEXTENSIBLE MARKUP LANGUAGE BY SAIKIRAN PANJALA
EXTENSIBLE MARKUP LANGUAGE BY SAIKIRAN PANJALA
 
Unit iv xml dom
Unit iv xml domUnit iv xml dom
Unit iv xml dom
 
What is xml
What is xmlWhat is xml
What is xml
 
Cmsc 100 (web content)
Cmsc 100  (web content)Cmsc 100  (web content)
Cmsc 100 (web content)
 
Xml unit1
Xml unit1Xml unit1
Xml unit1
 
Xml iet 2015
Xml iet 2015Xml iet 2015
Xml iet 2015
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 

More from Kumar (20)

Graphics devices
Graphics devicesGraphics devices
Graphics devices
 
Fill area algorithms
Fill area algorithmsFill area algorithms
Fill area algorithms
 
region-filling
region-fillingregion-filling
region-filling
 
Bresenham derivation
Bresenham derivationBresenham derivation
Bresenham derivation
 
Bresenham circles and polygons derication
Bresenham circles and polygons dericationBresenham circles and polygons derication
Bresenham circles and polygons derication
 
Introductionto xslt
Introductionto xsltIntroductionto xslt
Introductionto xslt
 
XML Schema
XML SchemaXML Schema
XML Schema
 
DTD
DTDDTD
DTD
 
Applying xml
Applying xmlApplying xml
Applying xml
 
How to deploy a j2ee application
How to deploy a j2ee applicationHow to deploy a j2ee application
How to deploy a j2ee application
 
JNDI, JMS, JPA, XML
JNDI, JMS, JPA, XMLJNDI, JMS, JPA, XML
JNDI, JMS, JPA, XML
 
EJB Fundmentals
EJB FundmentalsEJB Fundmentals
EJB Fundmentals
 
JSP and struts programming
JSP and struts programmingJSP and struts programming
JSP and struts programming
 
java servlet and servlet programming
java servlet and servlet programmingjava servlet and servlet programming
java servlet and servlet programming
 
Introduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC DriversIntroduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC Drivers
 
Introduction to J2EE
Introduction to J2EEIntroduction to J2EE
Introduction to J2EE
 
Android lifecycle
Android lifecycleAndroid lifecycle
Android lifecycle
 
Sqlite
SqliteSqlite
Sqlite
 
Android animations
Android animationsAndroid animations
Android animations
 
Sop sample
Sop   sampleSop   sample
Sop sample
 

Recently uploaded

Recently uploaded (20)

How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

Introduction to XML

  • 2. Objectives • Explain what XML is and the need for XML • Know other markup languages – SGML, HTML, XHTML • Understand the difference between SGML, HTML and XML • Know the various applications of XML • Know the pros and cons of XML
  • 3. XML • XML stands for Extensible Markup Language. • XML is a tool for data transportation and data storage in platform and language neutral way. • XML plays an important role in the exchange of a wide variety of data on the web • XML defines set of rules for encoding documents which is both human-readable and machine- readable • All rules are defined in XML 1.0 specification developed by W3C an open standard • Many Parsers or APIs(Application Programming Interface) are available to process the XML data
  • 4. History of XML • W3C’s primary goals is to make the Web universally accessible—regardless of disabilities, language, culture, etc • Internet is a collection of interconnected computers • DARPANET (Defense Advanced Research Project Agency Network) was the first network to interconnect academic, government and private research organizations • Initially, internet used for sending electronic messages and transferring files. • FTP(File Transfer Protocol) allows people to request files from the other system • Limitation – what format the files requested would be in and – Can the file be processed
  • 5. Contd. • CERN browser – Used to request files over the internet and display them in a predefined format – Uses • HTTP (Hyper Text Transfer Protocol) and • HTML(Hyper text markup language) • Presentation details cannot be transferred as they are coded in the machine specific manner that may not be understood at the receiving end
  • 6. Contd. • Standardized Generalized Markup Language (SGML) - allows information about the document's structure to be preserved • DSSSL – Document style semantics and specification language • SGML is used to specify mark up languages. • The purpose of SGML is to create the vocabularies which could be used to mark up documents with structural tags. • HTML - one of the most popular applications of SGML • HTML - mark up language used for presentation i.e. design a webpage • HTML - All tags predefined
  • 7. Contd. • Limitation of HTML – Data storage and interchange of data is not possible using HTML – All tags are predefined • XML bridges this gap – human readable, while being flexible enough to support platform and – architecture independent data interchange
  • 8. SGML vs HTML vs XML • HTML allows hypertext links to be specified, SGML does not allow any hyper text links • HTML is used for presentation, not the meaning of the data content, XML describes the meaning of the document • HTML is not extensible, XML is highly extensible
  • 9. Semi Structured Data • Data may be – Structured – Unstructured – Raw data • Text Database – Unstructured • Text Mark Up – Mark-up languages • SGML – meta language • HTML – markup language with predefined tags