1 XML and XML in DLESE Katy Ginger November 2003.

Slides:



Advertisements
Similar presentations
OLAC Metadata Steven Bird University of Melbourne / University of Pennsylvania OLAC Workshop 10 December 2002.
Advertisements

XML Schema Heewon Lee. Contents 1. Introduction 2. Concepts 3. Example 4. Conclusion.
What is XML? a meta language that allows you to create and format your own document markups a method for putting structured data into a text file; these.
XML: Extensible Markup Language
4 XML Schema.
1 Web Data Management XML Schema. 2 In this lecture XML Schemas Elements v. Types Regular expressions Expressive power Resources W3C Draft:
XML Schema Matthias Hauswirth. Agenda 4 W3C Process 4 XML Schema Requirements 4 The Specifications 4 Schema Tools.
RDF Kitty Turner. Current Situation there is hardly any metadata on the Web search engine sites do the equivalent of going through a library, reading.
A Practical Introduction to XML in Libraries Marty Kurth NYLA October 22, 2004.
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
XML(EXtensible Markup Language). XML XML stands for EXtensible Markup Language. XML is a markup language much like HTML. XML was designed to describe.
Tutorial 11 Creating XML Document
HDF 1 NCSA HDF XML Activities Robert E. McGrath Mike Folk National Center for Supercomputing Applications.
OCLC Online Computer Library Center Two Paths to Interoperable Metadata Jean Godby, Devon Smith, Eric Childress DC-2003 September 29, 2003.
Topics The "bigger picture" –The "XML sales pitch" –XML/XHTML vs. SGML/HTML –XML in electronic publishing –XML and the future, web 2.0 XML basics: –Building.
Introduction to XML: Part I By Sandeep Jangity CS 157B, Section 2 Dr. Lee.
4/20/2017.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
17 Apr 2002 XML Schema Andy Clark. What is it? A grammar definition language – Like DTDs but better Uses XML syntax – Defined by W3C Primary features.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
EAD: A Technical Introduction Julie Hardesty, Metadata Analyst June 3, 2014.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation XML Schema 1 Lecturer.
Dr. Azeddine Chikh IS446: Internet Software Development.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Schemas Ellen Pearlman Eileen Mullin Programming the Web Using XML.
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.
An Introduction to XML Presented by Scott Nemec at the UniForum Chicago meeting on 7/25/2006.
WHAT THE HELL IS XML?. What the Hell is XML? What the hell is XML?  Markup Language  Derived from SGML (Standardized General Markup Language)  Describes.
 XML is designed to describe data and to focus on what data is. HTML is designed to display data and to focus on how data looks.  XML is created to structure,
Session IV Chapter 9 – XML Schemas
Processing of structured documents Spring 2002, Part 2 Helena Ahonen-Myka.
10/15/20151 XML. 10/15/20152 Mark-up Languages Digitalizing information Content Format SGML HTML XML RDF OWL …
XML Schema Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University ElementType AttributeType XML Declar.
New Perspectives on XML, 2nd Edition
The One-to-many Relationship A relationship in which one object can reference several instances of another.
An OO schema language for XML SOX W3C Note 30 July 1999.
Lecture 16 Introduction to XML Boriana Koleva Room: C54
XML – Part III. The Element … This type of element either has the element content or the mixed content (child element and data) The attributes of the.
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
1 CIS336 Website design, implementation and management (also Semester 2 of CIS219, CIS221 and IT226) Lecture 5 XML Schema (Based on Møller and Schwartzbach,
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 2nd EDITION Tutorial 4 Working With Schemas. XP Schemas A schema is an XML document that defines the content and structure of one or more XML documents.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
Tutorial 13 Validating Documents with Schemas
Using XML to store Descriptive Metadata Richard Murphy Rosarie O’Riordan Central Statistics Office Ireland.
OAI Overview DLESE OAI Workshop April 29-30, 2002 John Weatherley
Processing of structured documents Spring 2003, Part 3 Helena Ahonen-Myka.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Metadata and OAI DLESE OAI Workshop April 29-30, 2002 Katy Ginger Presentation available at:
Metadata and OAI DLESE OAI Workshop June 29 to July 2, 2002 Katy Ginger Presentation available at:
Web Technologies for Bioinformatics Ken Baclawski.
Introduction to XML Schema John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: (x2073)
XML The Extensible Markup Language (XML ), which is comparable to SGML and modeled on it, describes how to describe a collection of data. A standard way.
1 Global versus Local XML Schemas: Best Practices A set of guidelines for designing XML Schemas Created by discussions on xml-dev.
CSE3201 Information Retrieval Systems XML Schema – Part 2.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
ACG 6415 XML Schemas XML Namespaces XMLink. The XML Foundation  Many participants – an extended family! XML documents – carry data in context  Each.
SEMI-STRUCTURED DATA (XML) 1. SEMI-STRUCTURED DATA ER, Relational, ODL data models are all based on schema Structure of data is rigid and known is advance.
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.
4 Copyright © 2004, Oracle. All rights reserved. Validating XML by Using XML Schema.
1 Introduction to XML Babak Esfandiari. 2 What is XML? introduced by W3C in 98 Stands for eXtensible Markup Language it is more general than HTML, but.
Beyond HTML: Extensible Markup Language (XML)
XML Schemas Dr. Awad Khalil Computer Science Department AUC.
XML: Extensible Markup Language
XML QUESTIONS AND ANSWERS
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
Database Processing with XML
New Perspectives on XML
Presentation transcript:

1 XML and XML in DLESE Katy Ginger November 2003

2 XML Purpose Provide a container for data that is presentation and platform independent Container for data that is flexible and extensible; user defines the tags and content A single container for data that has multiple purposes and uses in a variety of software or web applications Note: XML databases exist now

3 What is XML data? Is called instance documents Consists of user defined tags Is well-formed and valid The content that can be defined and controlled See DLESE Annotation Metadata Record example

4 Built-in Primitive Types Strings: e.g. strings Binary: e.g. boolean Numeric: e.g. decimal, float, double from which integer is derived Date/time: e.g. date, dateTime, duration, time

5 Well-formed and valid XML Correct Dodge Spirit 1994 you CO Incorrect Dodge Spirit 1994 CO you

6 DTD, Schemas & Namespaces DTD: Document Type Definition Describe the elements of XML instance documents Not well-formed XML Some data-typing Namespaces harder to deal with Schemas Describe the elements of XML instance documents Well-formed XML Strong data-typing Namespaces are easier to deal with Namespace: Collection of related element names identified by a name label (e.g. dc:title where dc is for Dublin Core)

7 XML Schema Design Philosophy Decide where to apply XML, it’s good for: – Data archiving – Message passing – Presentation documents Decide between global & local XML declarations – Russian Doll Design – Salami Slice Design – Venetian Blind Model

8 Russian Doll Design Schema mirrors structure of the instance doc Elements are declared inside parent elements All elements are local in scope Elements may appear multiple times but can’t be referenced elsewhere Changes on an element affect only the content model (parent element) of the element being changed Hides namespace complexities

9 Salami Slice Design Each element/attribute is declared globally Content models are then pieced together through references Elements can be used anywhere and in multiple schemas Changes on an element affect it everywhere the element is used Does not hide namespaces

10 Venetian Blind Model Elements/attributes are defined as types (simple or complex) Content models are made of types Types are reusable and extendable Changes on an element affect its type and where the type is used Namespaces can be hidden or not hidden

11 How to control tag content Use restriction and enumeration elements Use regular expressions See DLESE Annotation Metadata Record example

12 How DLESE uses XML DLESE systems act on metadata All DLESE metadata is stored as flat XML files DLESE harvests metadata XML files from other digital libraries DLESE provides metadata XML files to other digital libraries DLESE transitioned to schemas in Spring 2003 DLESE schemas use the Venetian Blind Model

13 XSLT (Extensible Stylesheet Language Transformation) Acts on valid and well formed XML documents like instance docs and schemas Used to create new text, HTML or XML docs DLESE uses it to crosswalk our metadata format to the Dublin Core metadata format