Updated 2003.11.14 10:02 Hong Kong University of Science & Technology Library Workshop on XML-Based Library Applications 1. What is XML?

Slides:



Advertisements
Similar presentations
XML: Extensible Markup Language
Advertisements

DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 13-1 COS 346 Day 24.
Tutorial 9 Working with XHTML
1 COS 425: Database and Information Management Systems XML and information exchange.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
XML Introduction By Hongming Yu Feb 6 th, Index Markup Language: SGML, HTML, XML An XML example Why is XML important XML introduction XML applications.
Ontology-based Access Ontology-based Access to Digital Libraries Sonia Bergamaschi University of Modena and Reggio Emilia Modena Italy Fausto Rabitti.
Aalborg University – Department of Production XML Extensible Markup Language Kaj A. Jørgensen Aalborg University, Department of Production XML – Extensible.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
Metadata Standards and Applications 4. Metadata Syntaxes and Containers.
XML Fundementals XML vs.. HTML XML vs.. HTML XML Document (elements vs. attributes) XML Document (elements vs. attributes) XML and RDBMS XML and RDBMS.
XML – Extensible Markup Language Sivakumar Kuttuva & Janusz Zalewski.
XML at Work John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: (x2073)
EAD: A Technical Introduction Julie Hardesty, Metadata Analyst June 3, 2014.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 XML Taken from Chapter 7.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
Scientific Markup Languages Birds of a Feather A 10-Minute Introduction to XML Timothy W. Cole Mathematics Librarian & Professor of.
XML eXtensible Markup Language by Darrell Payne. Experience Logicon / Sterling Federal C, C++, JavaScript/Jscript, Shell Script, Perl XML Training XML.
1 XML at a neighborhood university near you Innovation 2005 September 16, 2005 Kwok-Bun Yue University of Houston-Clear Lake.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
XML About XML Things to be known Related Technologies XML DOC Structure Exploring XML.
XML TUTORIAL Portions from w3 schools By Dr. John Abraham.
Metadata: Essential Standards for Management of Digital Libraries ALI Digital Library Workshop Linda Cantara, Metadata Librarian Indiana University, Bloomington.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
XML 2nd EDITION Tutorial 1 Creating An Xml Document.
Waqas Anwar Next SlidePrevious Slide. Waqas Anwar Next SlidePrevious Slide XML XML stands for EXtensible Markup Language.
Introduction to XML This presentation covers introductory features of XML. What XML is and what it is not? What does it do? Put different related technologies.
CEAL 2003 XML for CJK Wooseob Jeong School of Information Studies University of Wisconsin - Milwaukee.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
1 XML eXtensible Markup Language. 2 XML vs. HTML HTML is a HyperText Markup language HTML is a HyperText Markup language Designed for a specific application,
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
XML Basics A brief introduction to XML in general 1XML Basics.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
1 Indexing The syntax for creating a index is: CREATE [UNIQUE] INDEX index_name ON table_name (column1, column2,... column_n) [ COMPUTE STATISTICS ]; Why.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
+ 1 XML eXtensible Markup Language. + 2 XML Lecture Adapted from the work of Dr. Praveen Madiraju of Marquette University.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 2: Markup Language and Site Development Essentials © 2007 Prosoft Learning Corporation All.
Tutorial 9 Working with XHTML. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Describe the history and theory of XHTML.
CIS 228 The Internet 9/20/11 XHTML 1.0. “Quirks” Mode Today, all browsers support standards Compliant pages are displayed similarly There are multiple.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
XML – Basic Concepts (modified version from Dr. Praveen Madiraju) 2015, Fall Pusan National University Ki-Joune Li.
XML Introduction to XML Extensible Markup Language.
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
1 XML eXtensible Markup Language. 2 Introduction and Motivation Dr. Praveen Madiraju Modified from Dr.Sagiv’s slides.
I Copyright © 2004, Oracle. All rights reserved. Introduction.
Beyond HTML: Extensible Markup Language (XML)
Kynn Bartlett 11 April 2001 STC San Diego The HTML Writers Guild Copyright © 2001 XML, XHTML, XSLT, and other X-named specifications.
Updated :02 Hong Kong University of Science & Technology Library Workshop on XML-Based Library Applications 4. XML Standards and Tools.
XML BASICS and more…. What is XML? In common:  XML is a standard, simple, self-describing way of encoding both text and data so that content can be processed.
Unit 4 Representing Web Data: XML
XML Related Technologies
XML QUESTIONS AND ANSWERS
Session I - Introduction
Session I - Introduction
Database Processing with XML
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Chapter 7 Representing Web Data: XML
More Sample XML By Sadia Anjum.
XML Introduction By Hongming Yu Feb 6th, 2002.
Introduction to DTDs.
CSE591: Data Mining by H. Liu
XML – An Introduction XML is getting a lot of attention right now, because of it leverages existing internet infrastructure and also because it enables.
Presentation transcript:

updated :02 Hong Kong University of Science & Technology Library Workshop on XML-Based Library Applications 1. What is XML?

Hong Kong University of Science & Technology Library What is XML? (1) XML is eXtensible Markup Language XML is eXtensible Markup Language Like HTML, it contains tags " " for describing elements. Unlike HTML, XML by itself does not define any specific tags, but only describes how to define your own tags to use to mark up documents Like HTML, it contains tags " " for describing elements. Unlike HTML, XML by itself does not define any specific tags, but only describes how to define your own tags to use to mark up documents Developed by the W3C (World Wide Web Consortium) Developed by the W3C (World Wide Web Consortium) To learn more: W3C’s XML site and the To learn more: W3C’s XML site and the

Hong Kong University of Science & Technology Library What is XML? (2) How is it used? How is it used? Marking up data Marking up data Exchanging data between systems/applications Exchanging data between systems/applications Separating content from presentation Separating content from presentation A Meta-Language standard A Meta-Language standard (language that defines languages) Some languages: Some languages: PICS, EAD, Dublin Core, MARC

Hong Kong University of Science & Technology Library What is XML? (3) Example 1 - a bookstore?: Example 1 - a bookstore?: The Zen of Gardening The Zen of Gardening Randy Mullis Randy Mullis Kitchen Decoration Kitchen Decoration Fleeta Wilkinson Fleeta Wilkinson

Hong Kong University of Science & Technology Library What is XML? (4) Example 2 - personal inventory?: Example 2 - personal inventory?: The Zen of Gardening The Zen of Gardening Randy Mullis Randy Mullis Kitchen Decoration Kitchen Decoration Fleeta Wilkinson Fleeta Wilkinson </homeinventory>

Hong Kong University of Science & Technology Library What is XML? (5) Relationship with SGML Relationship with SGML A subset to make SGML usable on the Web A subset to make SGML usable on the Web Relationship with HTML/XHTML Relationship with HTML/XHTML Extensible, form/content separation possible Extensible, form/content separation possible XHTML is an XML form of HTML XHTML is an XML form of HTML

Hong Kong University of Science & Technology Library Why Use XML? Widely accepted and adopted standard Widely accepted and adopted standard Independent of vendor, platform & applications Independent of vendor, platform & applications Many essential and emerging standards are based on XML Many essential and emerging standards are based on XML Multi-Script capable (UTF-8 compliant) Multi-Script capable (UTF-8 compliant) Web capable Web capable Plain-text source files Plain-text source files Has become the basic infrastructure in digital libraries and the information profession Has become the basic infrastructure in digital libraries and the information profession

Hong Kong University of Science & Technology Library Anatomy of XML (1) Elements and Attributes Elements and Attributes All elements are case sensitive All elements are case sensitive vs. vs. vs. vs. All elements must open and close All elements must open and close All attribute values must be quoted All attribute values must be quoted

Hong Kong University of Science & Technology Library Anatomy of XML (2) Nesting Nesting<book> Kitchen Decoration Kitchen Decoration Fleeta Wilkinson Fleeta Wilkinson

Hong Kong University of Science & Technology Library Anatomy of XML (3) Hierarchical Hierarchical <bookcoll> The Zen of Gardening The Zen of Gardening Randy Mullis Randy Mullis Kitchen Decoration Kitchen Decoration Fleeta Wilkinson Fleeta Wilkinson

Hong Kong University of Science & Technology Library Anatomy of XML (4) Namespaces Namespaces A collection of names, identified by a URI reference, which are used in XML documents as element types and attribute names. A collection of names, identified by a URI reference, which are used in XML documents as element types and attribute names. xmlns:dc= DOM - Document Object Model DOM - Document Object Model Exposes the contents of an XML document. The W3C's DOM defines what any DOM (e.g. Microsoft's) should expose as properties, methods, and events. Exposes the contents of an XML document. The W3C's DOM defines what any DOM (e.g. Microsoft's) should expose as properties, methods, and events. Example: Internet Explorer’s ability to display XML Example: Internet Explorer’s ability to display XMLXML

Hong Kong University of Science & Technology Library Anatomy of XML (5) DTD - Document Type Definition DTD - Document Type Definition Defines the permitted elements, attributes and the hierarchy among them Defines the permitted elements, attributes and the hierarchy among them “Well-formed” - XML that is properly tagged “Well-formed” - XML that is properly tagged “Valid” - properly tagged and conforms to a DTD “Valid” - properly tagged and conforms to a DTD XML can be well-formed and still not valid. XML can be well-formed and still not valid.

Hong Kong University of Science & Technology Library Anatomy of XML (6) XML Schema XML Schema Adds data types, such as number, date, time, etc. and permits user-defined data types. Adds data types, such as number, date, time, etc. and permits user-defined data types. Written in XML Written in XML Example: Example: schema.html schema.html schema.html schema.html

Hong Kong University of Science & Technology Library Anatomy of XML (7) XSL - eXtensible Style Sheet Language XSL - eXtensible Style Sheet Language Specifies presentation of a class of XML files by using XSLT to describe how an instance of the class is transformed - e.g. into HTML Specifies presentation of a class of XML files by using XSLT to describe how an instance of the class is transformed - e.g. into HTML Uses XPOINTER, XPATH, and XSLT Uses XPOINTER, XPATH, and XSLT XPATH XPATH for addressing parts of an XML document for addressing parts of an XML document XPOINTER XPOINTER pointing to part of an external or remote XML file pointing to part of an external or remote XML file XSLT XSLT for transforming XML files into other XML files for transforming XML files into other XML files

Hong Kong University of Science & Technology Library Anatomy of XML (8) XQUERY - XML Query Language XQUERY - XML Query Language for querying XML Fragments/Documents for querying XML Fragments/Documents Can express queries across many kinds of data, whether physically stored in XML or viewed as XML via middleware (in text files, object repositories, relational databases, etc.) Can express queries across many kinds of data, whether physically stored in XML or viewed as XML via middleware (in text files, object repositories, relational databases, etc.)

Hong Kong University of Science & Technology Library Why is XML important for Library Applications? Most library metadata is hierarchical in nature, not relational Most library metadata is hierarchical in nature, not relational XML is particularly well-suited for marking up full-text data XML is particularly well-suited for marking up full-text data Many emerging XML-based standards are driven by the library and information professions, e.g. Dublin Core, EAD Many emerging XML-based standards are driven by the library and information professions, e.g. Dublin Core, EAD

Hong Kong University of Science & Technology Library XML/Library References (1) Books Books The ABCs of XML : the librarian's guide to the eXtensible markup language / by Norman Desmarais The ABCs of XML : the librarian's guide to the eXtensible markup language / by Norman Desmarais The ABCs of XML : the librarian's guide to the eXtensible markup language The ABCs of XML : the librarian's guide to the eXtensible markup language [The Appendices of this book mention HKUST's early (1998) proposal/discussion of marking up MARC in XML.] [The Appendices of this book mention HKUST's early (1998) proposal/discussion of marking up MARC in XML.] XML in libraries / edited by Roy Tennant XML in libraries / edited by Roy Tennant XML in libraries XML in libraries Putting XML to work in the library / Dick R. Miller and Kevin S. Clarke Putting XML to work in the library / Dick R. Miller and Kevin S. Clarke Putting XML to work in the library Putting XML to work in the library

Hong Kong University of Science & Technology Library XML/Library References (2) Online Resources Online Resources Getting Started with XML by Eric Morgan Getting Started with XML by Eric Morgan How Does XML Help Libraries? How Does XML Help Libraries? Practical XML & XSLT by Roy Tenant Practical XML & XSLT by Roy Tenant XML Cover Pages XML Cover Pages XML4LIB Discussion List XML4LIB Discussion List XML in 10 Points XML in 10 Points

Hong Kong University of Science & Technology Library Key Library Players & Projects Medlane’s MarcXML project Medlane’s MarcXML project LC ( U.S. Library of Congress ) LC ( U.S. Library of Congress ) OCLC OCLC AusLit AusLit Local projects Local projects Open University of HK Library - eText Center Open University of HK Library - eText Center HKUST - XML Global Name Access Control Repository HKUST - XML Global Name Access Control Repository And many many others … And many many others …