SlideShare una empresa de Scribd logo
1 de 13
XML and Databases
Presentation

By:
Oluwasegun Adedugbe and Pavan Kurma
Faculty of Computing, Engineering and Technology,
Staffordshire University,
Stafford, ST18 0AD
XML Overview


XML stands for eXtensible Markup Language



Widely used on the World Wide Web as a means of
communication between different types of web
components



It is a W3C (World Wide Web Consortium) standard
XML Characteristics


XML is a markup language, like HTML



XML primarily consists of tags, attributes and data



XML tags are not pre-defined like HTML



XML tags are user-defined



While HTML defines the layout for data, XML
describes the data



XML documents need to be well formed
XML Usage


Transporting, Storing and Sharing Data

Examples:


Software Updates



XML Sitemaps



Web-based feeds, such as RSS, jobs, weather
reports, stock updates, etc.



Third-party application
Strengths of XML


It is written in plain text format



It is platform independent, either hardware or
software



It works well with applications



It’s a W3C standard, which makes it universal
XML vs. RDMSs


XML does not support traditional elements of
relational databases such as triggers, indexes,
queries across multiple documents, etc.



XML will not be suitable for very large amounts of
data unlike relational databases



XML is file-based while relational databases are
server-based
XML Issues


Speed – Data retrieval could be relatively slow due
to verbose nature



Security – Data could be interrupted during
transmission



Scope – Limited scope in comparison to relational
databases
XML Schema


Schemas are used to validate XML documents



A Schema defines the structure and data
constraints of an instance XML document



Examples are DTD (Document Type Definition),
XML Schema, etc.
XML Validation


Validators check an XML document against its
schema and determines if its valid or not





Examples of XML Validation tools are Core Filing,
W3C XML Validator, etc.
Conclusion


XML stores, transports and shares data. It’s data
storage capabilities is very limited in relation to
relational databases



It is a very vital tool for communicating between
applications over networks



It’s use as a means of data storage should be for
small/medium-sized amount of data
References


USA. Oracle. (2012) Oracle XML DB Developer’s Guide.
California: Oracle Corporation. (11.2).



IBM. (2012) Investigate current XML tools. developerWorks.
[Online]. (June). Available from
http://www.ibm.com/developerworks/xml/library/xxmltools/index.html. [Accessed: 3 December 2012]



IBM. (2011) Investigate state-of-the-art XML compression
techniques. developerWorks. [Online]. (July). Available from http://www.ibm.com/developerworks/xml/library/xdatacompression/index.html. [Accessed: 3 December 2012]
References


W3Schools (2012) XML Tutorial. [Online] Available from:
http://www.w3schools.com/xml/default.asp [Accessed: 24
November 2012]



Maneth, S. (2010) Introduction to XML, [Handout] XML and
Databases. ICT Module. NICTA and UNSW, Department, South
Wales, September 2010.



Gonzalez, M., Prieto, M., Nieto, M. (2009) A Study of Native XML

Databases. Department of Computer Science, University of
Valladolid, Spain.
References


Papamarkos, G., Zamboulis, L., Poulovassilis, A. (2007) XML

Databases. School of Computer Science and Information
Systems, Birbeck College, University of London.

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

XML Databases
XML DatabasesXML Databases
XML Databases
 
Big Data Analytics with Hadoop
Big Data Analytics with HadoopBig Data Analytics with Hadoop
Big Data Analytics with Hadoop
 
Big data ppt
Big data pptBig data ppt
Big data ppt
 
WSDL
WSDLWSDL
WSDL
 
Big Data Analytics Lab File
Big Data Analytics Lab FileBig Data Analytics Lab File
Big Data Analytics Lab File
 
Presentations on web database
Presentations on web databasePresentations on web database
Presentations on web database
 
Temporal database
Temporal databaseTemporal database
Temporal database
 
Dtd
DtdDtd
Dtd
 
Transaction management in DBMS
Transaction management in DBMSTransaction management in DBMS
Transaction management in DBMS
 
Building an Effective Data Warehouse Architecture
Building an Effective Data Warehouse ArchitectureBuilding an Effective Data Warehouse Architecture
Building an Effective Data Warehouse Architecture
 
Database Keys
Database KeysDatabase Keys
Database Keys
 
Multimedia database
Multimedia databaseMultimedia database
Multimedia database
 
Big Data Fundamentals
Big Data FundamentalsBig Data Fundamentals
Big Data Fundamentals
 
Entity relationship modelling
Entity relationship modellingEntity relationship modelling
Entity relationship modelling
 
Hadoop YARN
Hadoop YARNHadoop YARN
Hadoop YARN
 
OLAP & DATA WAREHOUSE
OLAP & DATA WAREHOUSEOLAP & DATA WAREHOUSE
OLAP & DATA WAREHOUSE
 
Data Federation
Data FederationData Federation
Data Federation
 
Multimedia Database
Multimedia Database Multimedia Database
Multimedia Database
 
Temporal database, Multimedia database, Access control, Flow control
Temporal database, Multimedia database, Access  control, Flow controlTemporal database, Multimedia database, Access  control, Flow control
Temporal database, Multimedia database, Access control, Flow control
 
Map Reduce
Map ReduceMap Reduce
Map Reduce
 

Destacado

XML - Data Modeling
XML - Data ModelingXML - Data Modeling
XML - Data ModelingJoel Briza
 
10. XML in DBMS
10. XML in DBMS10. XML in DBMS
10. XML in DBMSkoolkampus
 
XML dengan PHP dan MYSQL
XML dengan PHP dan MYSQLXML dengan PHP dan MYSQL
XML dengan PHP dan MYSQLHengky Susanto
 
Introduction to XML and Databases
Introduction to XML and DatabasesIntroduction to XML and Databases
Introduction to XML and Databasestorp42
 
Comparative Analysis of Database Systems
Comparative Analysis of Database SystemsComparative Analysis of Database Systems
Comparative Analysis of Database SystemsHaris Jamil
 
Basic introduction to SOA
Basic introduction to SOABasic introduction to SOA
Basic introduction to SOAJoaquin Rincon
 
Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented ArchitectureRobert Sim
 
Three Software Architecture Styles
Three Software Architecture StylesThree Software Architecture Styles
Three Software Architecture StylesJorgen Thelin
 

Destacado (12)

XML - Data Modeling
XML - Data ModelingXML - Data Modeling
XML - Data Modeling
 
10. XML in DBMS
10. XML in DBMS10. XML in DBMS
10. XML in DBMS
 
XML dengan PHP dan MYSQL
XML dengan PHP dan MYSQLXML dengan PHP dan MYSQL
XML dengan PHP dan MYSQL
 
Xml databases
Xml databasesXml databases
Xml databases
 
Introduction to XML and Databases
Introduction to XML and DatabasesIntroduction to XML and Databases
Introduction to XML and Databases
 
Comparative Analysis of Database Systems
Comparative Analysis of Database SystemsComparative Analysis of Database Systems
Comparative Analysis of Database Systems
 
XML In My Database!
XML In My Database!XML In My Database!
XML In My Database!
 
Basic introduction to SOA
Basic introduction to SOABasic introduction to SOA
Basic introduction to SOA
 
SOA Unit I
SOA Unit ISOA Unit I
SOA Unit I
 
Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented Architecture
 
Three Software Architecture Styles
Three Software Architecture StylesThree Software Architecture Styles
Three Software Architecture Styles
 
DOM and SAX
DOM and SAXDOM and SAX
DOM and SAX
 

Similar a XML and Databases

Similar a XML and Databases (20)

What is xml
What is xmlWhat is xml
What is xml
 
XML1.pptx
XML1.pptxXML1.pptx
XML1.pptx
 
UNIT-1 Web services
UNIT-1 Web servicesUNIT-1 Web services
UNIT-1 Web services
 
Oracle soa xml faq
Oracle soa xml faqOracle soa xml faq
Oracle soa xml faq
 
Unit 3 WEB TECHNOLOGIES
Unit 3 WEB TECHNOLOGIES Unit 3 WEB TECHNOLOGIES
Unit 3 WEB TECHNOLOGIES
 
XML
XMLXML
XML
 
XML | Computer Science
XML | Computer ScienceXML | Computer Science
XML | Computer Science
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processor
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processor
 
Full xml
Full xmlFull xml
Full xml
 
Xml viva questions
Xml viva questionsXml viva questions
Xml viva questions
 
XML Introduction
XML IntroductionXML Introduction
XML Introduction
 
2008 Industry Standards for C2 CDM and Framework
2008 Industry Standards for C2 CDM and Framework2008 Industry Standards for C2 CDM and Framework
2008 Industry Standards for C2 CDM and Framework
 
Catalog-based Conversion from Relational Database into XML Schema (XSD)
Catalog-based Conversion from Relational Database into XML Schema (XSD)Catalog-based Conversion from Relational Database into XML Schema (XSD)
Catalog-based Conversion from Relational Database into XML Schema (XSD)
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
eXtensible Markup Language
eXtensible Markup LanguageeXtensible Markup Language
eXtensible Markup Language
 
CTDA Workshop on XML and MODS
CTDA Workshop on XML and MODSCTDA Workshop on XML and MODS
CTDA Workshop on XML and MODS
 
Enhanced xml validation using srml01
Enhanced xml validation using srml01Enhanced xml validation using srml01
Enhanced xml validation using srml01
 
light_xml
light_xmllight_xml
light_xml
 
01 Xml Begin
01 Xml Begin01 Xml Begin
01 Xml Begin
 

Último

Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
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
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 

Último (20)

Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
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
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 

XML and Databases

  • 1. XML and Databases Presentation By: Oluwasegun Adedugbe and Pavan Kurma Faculty of Computing, Engineering and Technology, Staffordshire University, Stafford, ST18 0AD
  • 2. XML Overview  XML stands for eXtensible Markup Language  Widely used on the World Wide Web as a means of communication between different types of web components  It is a W3C (World Wide Web Consortium) standard
  • 3. XML Characteristics  XML is a markup language, like HTML  XML primarily consists of tags, attributes and data  XML tags are not pre-defined like HTML  XML tags are user-defined  While HTML defines the layout for data, XML describes the data  XML documents need to be well formed
  • 4. XML Usage  Transporting, Storing and Sharing Data Examples:  Software Updates  XML Sitemaps  Web-based feeds, such as RSS, jobs, weather reports, stock updates, etc.  Third-party application
  • 5. Strengths of XML  It is written in plain text format  It is platform independent, either hardware or software  It works well with applications  It’s a W3C standard, which makes it universal
  • 6. XML vs. RDMSs  XML does not support traditional elements of relational databases such as triggers, indexes, queries across multiple documents, etc.  XML will not be suitable for very large amounts of data unlike relational databases  XML is file-based while relational databases are server-based
  • 7. XML Issues  Speed – Data retrieval could be relatively slow due to verbose nature  Security – Data could be interrupted during transmission  Scope – Limited scope in comparison to relational databases
  • 8. XML Schema  Schemas are used to validate XML documents  A Schema defines the structure and data constraints of an instance XML document  Examples are DTD (Document Type Definition), XML Schema, etc.
  • 9. XML Validation  Validators check an XML document against its schema and determines if its valid or not   Examples of XML Validation tools are Core Filing, W3C XML Validator, etc.
  • 10. Conclusion  XML stores, transports and shares data. It’s data storage capabilities is very limited in relation to relational databases  It is a very vital tool for communicating between applications over networks  It’s use as a means of data storage should be for small/medium-sized amount of data
  • 11. References  USA. Oracle. (2012) Oracle XML DB Developer’s Guide. California: Oracle Corporation. (11.2).  IBM. (2012) Investigate current XML tools. developerWorks. [Online]. (June). Available from http://www.ibm.com/developerworks/xml/library/xxmltools/index.html. [Accessed: 3 December 2012]  IBM. (2011) Investigate state-of-the-art XML compression techniques. developerWorks. [Online]. (July). Available from http://www.ibm.com/developerworks/xml/library/xdatacompression/index.html. [Accessed: 3 December 2012]
  • 12. References  W3Schools (2012) XML Tutorial. [Online] Available from: http://www.w3schools.com/xml/default.asp [Accessed: 24 November 2012]  Maneth, S. (2010) Introduction to XML, [Handout] XML and Databases. ICT Module. NICTA and UNSW, Department, South Wales, September 2010.  Gonzalez, M., Prieto, M., Nieto, M. (2009) A Study of Native XML Databases. Department of Computer Science, University of Valladolid, Spain.
  • 13. References  Papamarkos, G., Zamboulis, L., Poulovassilis, A. (2007) XML Databases. School of Computer Science and Information Systems, Birbeck College, University of London.