SlideShare a Scribd company logo
1 of 11
Intro to XML CIS-189
Computers work with data represented by binary values 0, 1 represent possible “states” (values) of a switch (off and on) Operating systems and application software represent values differently A Word file storing information about this class will store the data differently than WordPad Working with Data
Text data uses common definitions for representing data Letter ‘a’ is 97 (110001 in binary) A text file with information about this class can be read and used by Word, Wordpad, Excel, Internet Explorer Using Text
“Markup” refers to the use of tags to describe data Data describing data is meta data Tags identify where data begins and ends, and has some information about that data Often referred to as “self describing” Standard Generalized Markup Language was created to offer universal standards for sharing and moving information Markup
HTML is an offshoot of SGML Designed to support display of data Not as complex – or as powerful – as SGML Text-based allows for reading and editing in many environments, applications Designed to be used explicitly with a browser Text values have fewer security issues than passing binary data  What do all of those 0’s and 1’s represent? HTML
Extensible Markup Language fills the gap between display of HTML and complexity of SGML XML is compatible with rules of SGML XML isn’t a language XML is a set of standards about how to create a language to define and work with particular data To XML
Tags are used, similar to HTML Tags mark the beginning and ending of a value A tag must always have a close <name>Randy</name> OR <middle /> Tags are defined as needed No set of predefined tags as in HTML Tags typically aren’t about display Presentation is separate from the data, unlike HTML Using XML
XML is hierarchical Individual items in XML are elements An item may be a single value or group of values One element can belong to another Child and parent Similar to a one-to-many relationship Structure is called a ‘tree’  An item with children is called a branch An item with no children is a leaf XML Structure
An element can contain data An element can contain other elements An element can contain data and other elements Definition of elements for specific data make up a vocabulary Elements
Can define structure of data, independent of specific values Document type definitions(DTD’s) and schemas are used to create definitions Data isn’t part of a DTD or schema Can use definitions to test values Description of data can include validation Defining Elements
Every start tag must end Tags cannot overlap One tag can contain another Can have/must have one root element Must obey naming rules XML is case sensitive Whitespace is considered part of the data Not stripped out like for HTML Rules for Elements

More Related Content

What's hot

Jungahan web presentation
Jungahan web presentationJungahan web presentation
Jungahan web presentation
garden8an
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
yht4ever
 
Document Type Definition
Document Type DefinitionDocument Type Definition
Document Type Definition
yht4ever
 

What's hot (20)

XML and Databases
XML and DatabasesXML and Databases
XML and Databases
 
XML Introduction
XML IntroductionXML Introduction
XML Introduction
 
Xml viva questions
Xml viva questionsXml viva questions
Xml viva questions
 
Sgml and xml
Sgml and xmlSgml and xml
Sgml and xml
 
Jungahan web presentation
Jungahan web presentationJungahan web presentation
Jungahan web presentation
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
XML Schema
XML SchemaXML Schema
XML Schema
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
XML - Data Modeling
XML - Data ModelingXML - Data Modeling
XML - Data Modeling
 
Introduction to XML and Databases
Introduction to XML and DatabasesIntroduction to XML and Databases
Introduction to XML and Databases
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
Dtd
DtdDtd
Dtd
 
XML
XMLXML
XML
 
Xml
XmlXml
Xml
 
Document Type Definition
Document Type DefinitionDocument Type Definition
Document Type Definition
 
Xml 215-presentation
Xml 215-presentationXml 215-presentation
Xml 215-presentation
 
Xml dtd
Xml dtdXml dtd
Xml dtd
 
Basic XML
Basic XMLBasic XML
Basic XML
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
XML
XMLXML
XML
 

Viewers also liked

Развитие электронного правительства
Развитие электронного правительстваРазвитие электронного правительства
Развитие электронного правительства
НЭПК "СОЮЗ "АТАМЕКЕН"
 
Antonella Tanca: „Lebenslanges Lernen“ - Das Museum als Lernort
Antonella Tanca:  „Lebenslanges Lernen“ - Das Museum als LernortAntonella Tanca:  „Lebenslanges Lernen“ - Das Museum als Lernort
Antonella Tanca: „Lebenslanges Lernen“ - Das Museum als Lernort
Raabe Verlag
 
1.11.14 Для СМИ и организаторов конференций Паладьев
1.11.14 Для СМИ и организаторов конференций Паладьев1.11.14 Для СМИ и организаторов конференций Паладьев
1.11.14 Для СМИ и организаторов конференций Паладьев
Олег Паладьев
 

Viewers also liked (8)

I Stand With Immigrants
I Stand With ImmigrantsI Stand With Immigrants
I Stand With Immigrants
 
Развитие электронного правительства
Развитие электронного правительстваРазвитие электронного правительства
Развитие электронного правительства
 
Antonella Tanca: „Lebenslanges Lernen“ - Das Museum als Lernort
Antonella Tanca:  „Lebenslanges Lernen“ - Das Museum als LernortAntonella Tanca:  „Lebenslanges Lernen“ - Das Museum als Lernort
Antonella Tanca: „Lebenslanges Lernen“ - Das Museum als Lernort
 
Escritossobreche0223[1]
Escritossobreche0223[1]Escritossobreche0223[1]
Escritossobreche0223[1]
 
how does 1 million new jobs sound?
how does 1 million new jobs sound?how does 1 million new jobs sound?
how does 1 million new jobs sound?
 
Programa
ProgramaPrograma
Programa
 
1.11.14 Для СМИ и организаторов конференций Паладьев
1.11.14 Для СМИ и организаторов конференций Паладьев1.11.14 Для СМИ и организаторов конференций Паладьев
1.11.14 Для СМИ и организаторов конференций Паладьев
 
Mt Pt Bloque 5 B Comunicacion Turistica Web 20
Mt Pt Bloque 5 B Comunicacion Turistica Web 20Mt Pt Bloque 5 B Comunicacion Turistica Web 20
Mt Pt Bloque 5 B Comunicacion Turistica Web 20
 

Similar to Intro to XML

Document type definition
Document type definitionDocument type definition
Document type definition
Raghu nath
 
chapter 4 web authoring unit 4 xml.pptx
chapter 4 web authoring  unit 4 xml.pptxchapter 4 web authoring  unit 4 xml.pptx
chapter 4 web authoring unit 4 xml.pptx
amare63
 
Week1 xml
Week1 xmlWeek1 xml
Week1 xml
hapy
 
Introducing xml
Introducing xmlIntroducing xml
Introducing xml
Raghu nath
 

Similar to Intro to XML (20)

CIS-189 Final Review
CIS-189 Final ReviewCIS-189 Final Review
CIS-189 Final Review
 
Xml and Co.
Xml and Co.Xml and Co.
Xml and Co.
 
Web Technologies Unit 2 Print.pdf
Web Technologies Unit 2 Print.pdfWeb Technologies Unit 2 Print.pdf
Web Technologies Unit 2 Print.pdf
 
Document type definition
Document type definitionDocument type definition
Document type definition
 
Well Formed XML
Well Formed XMLWell Formed XML
Well Formed XML
 
XML
XMLXML
XML
 
XML.pptx
XML.pptxXML.pptx
XML.pptx
 
Xml
XmlXml
Xml
 
Xml programming language myassignmenthelp.net
Xml programming  language myassignmenthelp.netXml programming  language myassignmenthelp.net
Xml programming language myassignmenthelp.net
 
01 Xml Begin
01 Xml Begin01 Xml Begin
01 Xml Begin
 
XML
XMLXML
XML
 
XML-Unit 1.ppt
XML-Unit 1.pptXML-Unit 1.ppt
XML-Unit 1.ppt
 
O9xml
O9xmlO9xml
O9xml
 
CTDA Workshop on XML and MODS
CTDA Workshop on XML and MODSCTDA Workshop on XML and MODS
CTDA Workshop on XML and MODS
 
chapter 4 web authoring unit 4 xml.pptx
chapter 4 web authoring  unit 4 xml.pptxchapter 4 web authoring  unit 4 xml.pptx
chapter 4 web authoring unit 4 xml.pptx
 
Xml intro1
Xml intro1Xml intro1
Xml intro1
 
Week1 xml
Week1 xmlWeek1 xml
Week1 xml
 
Xml
XmlXml
Xml
 
Introducing xml
Introducing xmlIntroducing xml
Introducing xml
 
XML Schema.pptx
XML Schema.pptxXML Schema.pptx
XML Schema.pptx
 

More from Randy Riness @ South Puget Sound Community College

More from Randy Riness @ South Puget Sound Community College (20)

Stored procedures
Stored proceduresStored procedures
Stored procedures
 
3 sql overview
3 sql overview3 sql overview
3 sql overview
 
Normalization
NormalizationNormalization
Normalization
 
CIS160 final review
CIS160 final reviewCIS160 final review
CIS160 final review
 
SQL Constraints
SQL ConstraintsSQL Constraints
SQL Constraints
 
CIS 245 Final Review
CIS 245 Final ReviewCIS 245 Final Review
CIS 245 Final Review
 
CIS145 Final Review
CIS145 Final ReviewCIS145 Final Review
CIS145 Final Review
 
Cis166 Final Review C#
Cis166 Final Review C#Cis166 Final Review C#
Cis166 Final Review C#
 
Classes and Objects
Classes and ObjectsClasses and Objects
Classes and Objects
 
CIS245 sql
CIS245 sqlCIS245 sql
CIS245 sql
 
Cis245 Midterm Review
Cis245 Midterm ReviewCis245 Midterm Review
Cis245 Midterm Review
 
CSS
CSSCSS
CSS
 
XPath
XPathXPath
XPath
 
XSLT Overview
XSLT OverviewXSLT Overview
XSLT Overview
 
Views
ViewsViews
Views
 
CIS282 Midterm review
CIS282 Midterm reviewCIS282 Midterm review
CIS282 Midterm review
 
Schemas 2 - Restricting Values
Schemas 2 - Restricting ValuesSchemas 2 - Restricting Values
Schemas 2 - Restricting Values
 
CIS 145 test 1 review
CIS 145 test 1 reviewCIS 145 test 1 review
CIS 145 test 1 review
 
XML schemas
XML schemasXML schemas
XML schemas
 
Document type definitions part 2
Document type definitions part 2Document type definitions part 2
Document type definitions part 2
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Recently uploaded (20)

Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
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
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 

Intro to XML

  • 1. Intro to XML CIS-189
  • 2. Computers work with data represented by binary values 0, 1 represent possible “states” (values) of a switch (off and on) Operating systems and application software represent values differently A Word file storing information about this class will store the data differently than WordPad Working with Data
  • 3. Text data uses common definitions for representing data Letter ‘a’ is 97 (110001 in binary) A text file with information about this class can be read and used by Word, Wordpad, Excel, Internet Explorer Using Text
  • 4. “Markup” refers to the use of tags to describe data Data describing data is meta data Tags identify where data begins and ends, and has some information about that data Often referred to as “self describing” Standard Generalized Markup Language was created to offer universal standards for sharing and moving information Markup
  • 5. HTML is an offshoot of SGML Designed to support display of data Not as complex – or as powerful – as SGML Text-based allows for reading and editing in many environments, applications Designed to be used explicitly with a browser Text values have fewer security issues than passing binary data What do all of those 0’s and 1’s represent? HTML
  • 6. Extensible Markup Language fills the gap between display of HTML and complexity of SGML XML is compatible with rules of SGML XML isn’t a language XML is a set of standards about how to create a language to define and work with particular data To XML
  • 7. Tags are used, similar to HTML Tags mark the beginning and ending of a value A tag must always have a close <name>Randy</name> OR <middle /> Tags are defined as needed No set of predefined tags as in HTML Tags typically aren’t about display Presentation is separate from the data, unlike HTML Using XML
  • 8. XML is hierarchical Individual items in XML are elements An item may be a single value or group of values One element can belong to another Child and parent Similar to a one-to-many relationship Structure is called a ‘tree’ An item with children is called a branch An item with no children is a leaf XML Structure
  • 9. An element can contain data An element can contain other elements An element can contain data and other elements Definition of elements for specific data make up a vocabulary Elements
  • 10. Can define structure of data, independent of specific values Document type definitions(DTD’s) and schemas are used to create definitions Data isn’t part of a DTD or schema Can use definitions to test values Description of data can include validation Defining Elements
  • 11. Every start tag must end Tags cannot overlap One tag can contain another Can have/must have one root element Must obey naming rules XML is case sensitive Whitespace is considered part of the data Not stripped out like for HTML Rules for Elements