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 (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

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...
phanleson
 

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

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
Richard.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 Management
Richard.Sapon-White
 
RDA as an international standard
RDA as an international standardRDA as an international standard
RDA as an international standard
Richard.Sapon-White
 
Metadata lecture 3, metadata schemes
Metadata lecture 3, metadata schemesMetadata lecture 3, metadata schemes
Metadata lecture 3, metadata schemes
Richard.Sapon-White
 
Introduction to metadata, part 2
Introduction to metadata, part 2Introduction to metadata, part 2
Introduction to metadata, part 2
Richard.Sapon-White
 
Course syllabus metadata systems for warsaw
Course syllabus metadata systems for warsawCourse syllabus metadata systems for warsaw
Course syllabus metadata systems for warsaw
Richard.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 usa
Richard.Sapon-White
 
Accessibility issues with ebooks
Accessibility issues with ebooksAccessibility issues with ebooks
Accessibility issues with ebooks
Richard.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

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

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.