SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (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
 

Andere mochten auch

I Stand With Immigrants
I Stand With ImmigrantsI Stand With Immigrants
I Stand With ImmigrantsRichard Herman
 
Развитие электронного правительства
Развитие электронного правительстваРазвитие электронного правительства
Развитие электронного правительстваНЭПК "СОЮЗ "АТАМЕКЕН"
 
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 LernortRaabe Verlag
 
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?Richard Herman
 
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 20Jordi Miro
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Mehr von Randy Riness @ South Puget Sound Community College

Mehr von 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
 

Kürzlich hochgeladen

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
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_.pdfSherif Taha
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
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Ữ Â...Nguyen Thanh Tu Collection
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 

Kürzlich hochgeladen (20)

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
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
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
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Ữ Â...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 

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