SlideShare a Scribd company logo
1 of 8
SGML and XMLSGML and XML
Richard Sapon-White
Introduction to Metadata
May 13, 2013
SGMLSGML
Standardized General Markup Language, a
metalanguage
DTD (Document Type Definition) –
identifies the scheme used to define tags
and the rules for using them
DTDs: EAD, HTML, DTD for MARC21
2
SGML (cont.)SGML (cont.)
Uses start and end tags; attribute names
and values
Elements may include text, text +
attribute, attribute
Elements (wrappers) may include other
elements (subelements)
3
SGML Advantages and DisadvantagesSGML Advantages and Disadvantages
Advantages
◦ Element names can be mnemonic, e.g. EAD
element <titleproper> (compare with 245 $a)
◦ Hierarchical: can inherit data encoded at
higher levels
Disadvantage
◦ Difficult for programs to process; software
applications are complex
4
XMLXML
Type of SGML with fewer features and
options, for example:
◦ End tags must be used
◦ Attribute values always in quotation marks
Easier to process
◦ Tags are case-sensitive
◦ Attributes may contain UNICODE characters
5
Examples: LC DTD for MARC21Examples: LC DTD for MARC21
<mrcb245 i1=0 i2=4><mrcb245-a>The
health of dairy cattle /<mrcb245-c>edited
by Anthony H. Andrews. [SGML]
<mrcb245 i1=“0” i2=“4”><mrcb245-
a>The health of dairy cattle/</mrcb245-
a><mrcb245-c>edited by Anthony H.
Andrews.</mrcb245-c></mrcb245>
[XML]
6
XML DevelopmentXML Development
World Wide Web Consortium (W3C)
actively developing XML
XML linking language, query language,
stylesheet language, etc.
XML Schema are an alternative to DTDs
LC has developed MARCXML, an XML
Schema for MARC21 records
7
XML: TodayXML: Today
The language of the Web
Web browsers and other applications
support XML-encoded documents
8

More Related Content

What's hot (20)

XML Introduction
XML IntroductionXML Introduction
XML Introduction
 
Jungahan web presentation
Jungahan web presentationJungahan web presentation
Jungahan web presentation
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
4 xml namespaces and xml schema
4   xml namespaces and xml schema4   xml namespaces and xml schema
4 xml namespaces and xml schema
 
XML and DTD
XML and DTDXML and DTD
XML and DTD
 
Document Type Definitions
Document Type DefinitionsDocument Type Definitions
Document Type Definitions
 
2 dtd - validating xml documents
2   dtd - validating xml documents2   dtd - validating xml documents
2 dtd - validating xml documents
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
XML's validation - DTD
XML's validation - DTDXML's validation - DTD
XML's validation - DTD
 
XML
XMLXML
XML
 
Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)
 
Dtd
DtdDtd
Dtd
 
Sgml and xml
Sgml and xmlSgml and xml
Sgml and xml
 
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3
 
Basic XML
Basic XMLBasic XML
Basic XML
 
Xml presentation
Xml presentationXml presentation
Xml presentation
 
Document type definition
Document type definitionDocument type definition
Document type definition
 
Xml by Luqman
Xml by LuqmanXml by Luqman
Xml by Luqman
 
Dtd
DtdDtd
Dtd
 
Intro to xml
Intro to xmlIntro to xml
Intro to xml
 

Viewers also liked

Why SGML (Retro Alert 1995)
Why SGML (Retro Alert 1995)Why SGML (Retro Alert 1995)
Why SGML (Retro Alert 1995)Joe Gollner
 
Math content conversion
Math content conversionMath content conversion
Math content conversionJB Online
 
Basic Software Tools for multi-media
Basic Software Tools for multi-mediaBasic Software Tools for multi-media
Basic Software Tools for multi-mediaguestb7a19c
 
multimedia authorizing tools
multimedia authorizing toolsmultimedia authorizing tools
multimedia authorizing toolsSantosh Jhansi
 
Chapter 2 multimedia authoring and tools
Chapter 2 multimedia authoring and toolsChapter 2 multimedia authoring and tools
Chapter 2 multimedia authoring and toolsABDUmomo
 
Multimedia software tools
Multimedia software toolsMultimedia software tools
Multimedia software toolsJay Patel
 
Multimedia authoring tools
Multimedia authoring toolsMultimedia authoring tools
Multimedia authoring toolsOnline
 

Viewers also liked (11)

Why SGML (Retro Alert 1995)
Why SGML (Retro Alert 1995)Why SGML (Retro Alert 1995)
Why SGML (Retro Alert 1995)
 
Remote login
Remote loginRemote login
Remote login
 
Math content conversion
Math content conversionMath content conversion
Math content conversion
 
Basic Software Tools for multi-media
Basic Software Tools for multi-mediaBasic Software Tools for multi-media
Basic Software Tools for multi-media
 
multimedia authorizing tools
multimedia authorizing toolsmultimedia authorizing tools
multimedia authorizing tools
 
Cd Rom
Cd RomCd Rom
Cd Rom
 
Markup Languages
Markup Languages Markup Languages
Markup Languages
 
Chapter 2 multimedia authoring and tools
Chapter 2 multimedia authoring and toolsChapter 2 multimedia authoring and tools
Chapter 2 multimedia authoring and tools
 
Multimedia software tools
Multimedia software toolsMultimedia software tools
Multimedia software tools
 
Big data concepts
Big data conceptsBig data concepts
Big data concepts
 
Multimedia authoring tools
Multimedia authoring toolsMultimedia authoring tools
Multimedia authoring tools
 

Similar to Sgml and xml

Similar to Sgml and xml (20)

Advances in gml for geospatial applications slide
Advances in gml for geospatial applications slideAdvances in gml for geospatial applications slide
Advances in gml for geospatial applications slide
 
CIS-189 Final Review
CIS-189 Final ReviewCIS-189 Final Review
CIS-189 Final Review
 
O9xml
O9xmlO9xml
O9xml
 
AngularJS custom directive
AngularJS custom directiveAngularJS custom directive
AngularJS custom directive
 
XML-athon with Don and Dean
XML-athon with Don and DeanXML-athon with Don and Dean
XML-athon with Don and Dean
 
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
 
Session 1
Session 1Session 1
Session 1
 
XML
XMLXML
XML
 
State of the Geodata
State of the GeodataState of the Geodata
State of the Geodata
 
Intro xml
Intro xmlIntro xml
Intro xml
 
06 chapter03 04_control_logix_tags_memory_structure_fa16
06 chapter03 04_control_logix_tags_memory_structure_fa1606 chapter03 04_control_logix_tags_memory_structure_fa16
06 chapter03 04_control_logix_tags_memory_structure_fa16
 
Module 5 XML Notes.pdf
Module 5 XML Notes.pdfModule 5 XML Notes.pdf
Module 5 XML Notes.pdf
 
Xml
XmlXml
Xml
 
93 peter butterfield
93 peter butterfield93 peter butterfield
93 peter butterfield
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Xml For Dummies Chapter 8 Understanding And Using Dt Ds it-slideshares.blog...
Xml For Dummies   Chapter 8 Understanding And Using Dt Ds it-slideshares.blog...Xml For Dummies   Chapter 8 Understanding And Using Dt Ds it-slideshares.blog...
Xml For Dummies Chapter 8 Understanding And Using Dt Ds it-slideshares.blog...
 
Xml in bio medical field
Xml in bio medical fieldXml in bio medical field
Xml in bio medical field
 
Xml dtd- Document Type Definition- Web Technology
Xml dtd- Document Type Definition- Web TechnologyXml dtd- Document Type Definition- Web Technology
Xml dtd- Document Type Definition- Web Technology
 
XML Schema
XML SchemaXML Schema
XML Schema
 

More from Richard.Sapon-White

Rda and new research potentials, agata kawalec
Rda and new research potentials, agata kawalecRda and new research potentials, agata kawalec
Rda and new research potentials, agata kawalecRichard.Sapon-White
 
RDF and the Semantic Web -- Joanna Pszenicyn
RDF and the Semantic Web -- Joanna PszenicynRDF and the Semantic Web -- Joanna Pszenicyn
RDF and the Semantic Web -- Joanna PszenicynRichard.Sapon-White
 
Continuing Education for Metadata Creation and Management
Continuing Education for Metadata Creation and ManagementContinuing Education for Metadata Creation and Management
Continuing Education for Metadata Creation and ManagementRichard.Sapon-White
 
RDA as an international standard
RDA as an international standardRDA as an international standard
RDA as an international standardRichard.Sapon-White
 
Metadata lecture 3, metadata schemes
Metadata lecture 3, metadata schemesMetadata lecture 3, metadata schemes
Metadata lecture 3, metadata schemesRichard.Sapon-White
 
Introduction to metadata, part 2
Introduction to metadata, part 2Introduction to metadata, part 2
Introduction to metadata, part 2Richard.Sapon-White
 
Course syllabus metadata systems for warsaw
Course syllabus metadata systems for warsawCourse syllabus metadata systems for warsaw
Course syllabus metadata systems for warsawRichard.Sapon-White
 
Preparing your presentation.pptx [repaired]
Preparing your presentation.pptx [repaired]Preparing your presentation.pptx [repaired]
Preparing your presentation.pptx [repaired]Richard.Sapon-White
 
E books in public libraries. vendors in poland and usa
E books in public libraries. vendors in poland and usaE books in public libraries. vendors in poland and usa
E books in public libraries. vendors in poland and usaRichard.Sapon-White
 
Accessibility issues with ebooks
Accessibility issues with ebooksAccessibility issues with ebooks
Accessibility issues with ebooksRichard.Sapon-White
 

More from Richard.Sapon-White (20)

Rda and new research potentials, agata kawalec
Rda and new research potentials, agata kawalecRda and new research potentials, agata kawalec
Rda and new research potentials, agata kawalec
 
RDF and the Semantic Web -- Joanna Pszenicyn
RDF and the Semantic Web -- Joanna PszenicynRDF and the Semantic Web -- Joanna Pszenicyn
RDF and the Semantic Web -- Joanna Pszenicyn
 
Continuing Education for Metadata Creation and Management
Continuing Education for Metadata Creation and ManagementContinuing Education for Metadata Creation and Management
Continuing Education for Metadata Creation and Management
 
VRA Core 4.0
VRA Core 4.0VRA Core 4.0
VRA Core 4.0
 
RDA as an international standard
RDA as an international standardRDA as an international standard
RDA as an international standard
 
Metadata april 8 2013
Metadata april 8 2013Metadata april 8 2013
Metadata april 8 2013
 
Metadata crosswalks
Metadata crosswalksMetadata crosswalks
Metadata crosswalks
 
Metadata and the web
Metadata and the webMetadata and the web
Metadata and the web
 
Metadata lecture 5 part 2
Metadata lecture 5 part 2Metadata lecture 5 part 2
Metadata lecture 5 part 2
 
Metadata lecture 3, metadata schemes
Metadata lecture 3, metadata schemesMetadata lecture 3, metadata schemes
Metadata lecture 3, metadata schemes
 
Rda class, lecture 2
Rda class, lecture 2Rda class, lecture 2
Rda class, lecture 2
 
Rda class, lecture 2
Rda class, lecture 2Rda class, lecture 2
Rda class, lecture 2
 
Introduction to metadata, part 2
Introduction to metadata, part 2Introduction to metadata, part 2
Introduction to metadata, part 2
 
Course syllabus metadata systems for warsaw
Course syllabus metadata systems for warsawCourse syllabus metadata systems for warsaw
Course syllabus metadata systems for warsaw
 
Rda seminar syllabus
Rda seminar syllabusRda seminar syllabus
Rda seminar syllabus
 
Preparing your presentation.pptx [repaired]
Preparing your presentation.pptx [repaired]Preparing your presentation.pptx [repaired]
Preparing your presentation.pptx [repaired]
 
Rda class, lecture 1
Rda class, lecture 1Rda class, lecture 1
Rda class, lecture 1
 
Metadata lecture 1, intro
Metadata lecture 1, introMetadata lecture 1, intro
Metadata lecture 1, intro
 
E books in public libraries. vendors in poland and usa
E books in public libraries. vendors in poland and usaE books in public libraries. vendors in poland and usa
E books in public libraries. vendors in poland and usa
 
Accessibility issues with ebooks
Accessibility issues with ebooksAccessibility issues with ebooks
Accessibility issues with ebooks
 

Recently uploaded

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
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
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 

Recently uploaded (20)

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
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
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 

Sgml and xml

  • 1. SGML and XMLSGML and XML Richard Sapon-White Introduction to Metadata May 13, 2013
  • 2. SGMLSGML Standardized General Markup Language, a metalanguage DTD (Document Type Definition) – identifies the scheme used to define tags and the rules for using them DTDs: EAD, HTML, DTD for MARC21 2
  • 3. SGML (cont.)SGML (cont.) Uses start and end tags; attribute names and values Elements may include text, text + attribute, attribute Elements (wrappers) may include other elements (subelements) 3
  • 4. SGML Advantages and DisadvantagesSGML Advantages and Disadvantages Advantages ◦ Element names can be mnemonic, e.g. EAD element <titleproper> (compare with 245 $a) ◦ Hierarchical: can inherit data encoded at higher levels Disadvantage ◦ Difficult for programs to process; software applications are complex 4
  • 5. XMLXML Type of SGML with fewer features and options, for example: ◦ End tags must be used ◦ Attribute values always in quotation marks Easier to process ◦ Tags are case-sensitive ◦ Attributes may contain UNICODE characters 5
  • 6. Examples: LC DTD for MARC21Examples: LC DTD for MARC21 <mrcb245 i1=0 i2=4><mrcb245-a>The health of dairy cattle /<mrcb245-c>edited by Anthony H. Andrews. [SGML] <mrcb245 i1=“0” i2=“4”><mrcb245- a>The health of dairy cattle/</mrcb245- a><mrcb245-c>edited by Anthony H. Andrews.</mrcb245-c></mrcb245> [XML] 6
  • 7. XML DevelopmentXML Development World Wide Web Consortium (W3C) actively developing XML XML linking language, query language, stylesheet language, etc. XML Schema are an alternative to DTDs LC has developed MARCXML, an XML Schema for MARC21 records 7
  • 8. XML: TodayXML: Today The language of the Web Web browsers and other applications support XML-encoded documents 8

Editor's Notes

  1. SGML describes the syntax for encoding documents, but not specific tags.