MEDIN Standards Workshop Standards / XML / Validation / Transformation / ESRI.

Slides:



Advertisements
Similar presentations
CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
Advertisements

CG0119 Web Database Systems Parsing XML: using SimpleXML & XSLT.
XSLT (eXtensible Stylesheet Language Transformation) 1.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 13-1 COS 346 Day 24.
1 CP3024 Lecture 9 XML revisited, XSL, XSLT, XPath, XSL Formatting Objects.
XML e X tensible M arkup L anguage 1/23.
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Technical Workshops | Esri International User Conference San Diego, California Leveraging Metadata Standards in ArcGIS for Interoperability Aleta Vienneau.
MC 365 – Software Engineering Presented by: John Ristuccia Shawn Posts Ndi Sampson XSLT Introduction BCi.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
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.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
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.
XML and XSL Institutional Web Management 2001: Organising Chaos.
XML – Extensible Markup Language XML eXtensible – add to language. Markup – delimit info using tags. Language – a way to express info.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
XML A Single Entity. xml a single entity Objectives Objectives :  understand the data model  describe the XML Document  describe the XML Schema  describe.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
Demystifying the eXtensible Markup Language Nick Roberts & Jim Few
Introduction. Document Structure Overview  XML declaration (prolog)  Document type declaration  Root element (namespace)  Document header  Document.
XSLT transforms Mapping from Different Metadata Standards.
What is XML?  XML stands for EXtensible Markup Language  XML is a markup language much like HTML  XML was designed to carry data, not to display data.
Implementing Forms and Form Renderers in the Open Source Portfolio David McPherson, Chris Maurer Will Trillich, Janice Smith Materials by Sean Keesler.
 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,
November 1, 2006IU DLP Brown Bag : Fall Data Integrity and Document- centric XML Using Schematron for Managing Text Collections Dazhi Jiao, Tamara.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
XML TUTORIAL Portions from w3 schools By Dr. John Abraham.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
Of 33 lecture 3: xml and xml schema. of 33 XML, RDF, RDF Schema overview XML – simple introduction and XML Schema RDF – basics, language RDF Schema –
XML and Validation Tools Schema Schematron. XML eXtensible Markup Language (XML) –A metamarkup language. –The basic unit is called an element –Fairly.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
XML : a brief introduction Managing networks : understanding new technologies, Birmingham, 13 September 2001 Pete Johnston UKOLN, University of Bath Bath,
MEDIN Standards Workshop Using ESRI ARC 10 to create metadata.
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
An Introduction to XML Sandeep Bhattaram
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
Jennifer Widom XML Data Introduction, Well-formed XML.
MEDIN Standards Workshop Standards / XML / Validation / Transformation / ESRI / Search.
MEDIN Standards Workshop Standards / XML / Validation / Transformation / ESRI / Search.
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 –
Information Design Trends Unit 4: Sources and Standards Lecture 3: A Brief Introduction to XML.
SCHOOL OF LIBRARY, ARCHIVE AND INFORMATION STUDIES Andy Dawson LIS1510 Library and Archives Automation Issues XML and extensible systems Andy Dawson School.
The MEDIN stylesheet and ESRI Arc 10: metadata format conversion MEDIN Workshop BGS, Edinburgh, June 2015.
ESRI Education User Conference – July 6-8, 2001 ESRI Education User Conference – July 6-8, 2001 Introducing ArcCatalog: Tools for Metadata and Data Management.
An introduction to the MEDIN Discovery Metadata Standard.
An introduction to the MEDIN Discovery Metadata Standard.
April 20023CSG11 Electronic Commerce Markup languages John Wordsworth Department of Computer Science The University of Reading
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
XML Extensible Markup Language
XML Introduction to XML Extensible Markup Language.
An Introduction to the MEDIN Discovery Metadata Standard MEDIN Workshop BGS, Edinburgh, June 2015.
An Introduction to the MEDIN Discovery Metadata Standard MEDIN Workshop NOC, Liverpool, Sept 2015.
XSLT, XML Schema, and XPath Matt McClelland. Introduction XML Schema ▫Defines the content and structure of XML data. XSLT ▫Used to transform XML documents.
Geospatial metadata Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
FGDC  ISO MTX (Metadata Transformation XSLT) Bruce Westcott – Geospatial Metadata Consultant.
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.
Extensible Markup Language (XML) Pat Morin COMP 2405.
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
The MEDIN stylesheet and ESRI Arc 10: metadata format conversion
The MEDIN stylesheet and ESRI Arc 10: metadata format conversion
XML in Web Technologies
Chapter 7 Representing Web Data: XML
XML Data Introduction, Well-formed XML.
Presentation transcript:

MEDIN Standards Workshop Standards / XML / Validation / Transformation / ESRI

Introduction –XML –Schema and Validation XSD Schema Schematron –Transformation Stylesheets –ESRI ArcGIS –Search Pa ge 2

XML

Extensible Markup Language (XML) –A metamarkup language –The basic unit is called an element –Apparently similar to HTML but… Pa ge 4 element value Element Attribute Opening tag Closing tag

Metamarkup? What does metamarkup mean? –There is no predefined and fixed set of tags for XML –XML allows implementers to define their own set of tags to meet their needs Pa ge 5 Examples Office Open XML (ISO/IEC 29500) Geography Markup Language (ISO 19136)

Markup – ESRI ArcGIS 10 XML Pa ge 6 Title

Markup – ISO XML Pa ge 7 Title creation

Well-Formed XML has strict rules, e.g.: –There must be one, and only one root element –All elements must have an opening and closing tag –Element names are case sensitive: is different from –XML conforming to the rules is said to be well-formed Pa ge 8

Well-Formed Pa ge 9 Title Title Summary No closing tag Opening and closing tags are different Two root elements

Structure The markup defines data structure: –It signifies which elements are associated –It can define semantics: –It says nothing about how to display data (there are exceptions to this rule) Pa ge

XML is machine readable And… –Human readable… honestly Pa ge 11

Pa ge 12

Schema and Validation

Schema Schemas document the elements that are permitted in an XML application –XML that conforms to a schema is said to be schema-valid –XML that does not conform to a schema is said to be invalid Pa ge 14

XML Schema Definition Language Pa ge <xs:element name="title" type="gco:CharacterString_PropertyType"/> <xs:element name="alternateTitle" type="gco:CharacterString_PropertyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="date" type="gmd:CI_Date_PropertyType" maxOccurs="unbounded"/>...

Markup – ISO XML Pa ge 16 Title creation

Schematron Schematron is: –A schema language for XML Document Schema Definition Language (DSDL) –Written in XML –It’s an ISO Standard – ISO Find out more at: Pa ge 17

Why use Schematron? XSD schema is unable to test some constraints: –The ability to specify a choice of attributes –The ability to vary the content model based on the value of an element or attribute (this sort of constraint is common in the ISO logical model) Implementing profiles (e.g. MEDIN): –With Schematron there’s no need to edit the underlying standardised XSD Pa ge 18

Pa ge 19

What’s in a name? Schematron’s a funny name… –It’s just a reaction to the common use of acronyms – MEDIN ;-) – according to the author, Rick Jelliffe –It was originally to be called the Pink Schematron apparently see 21&v=1 Pa ge 20

Validation Workflow Pa ge 21 XSD Schema ValidationSchematron Validation

Validation Tools Pa ge 22 Select profile XSD Schema Schematron schemas

Transformation

XSLT Extensible Stylesheet Language Transformations (XSLT) –Specifies rules for transforming one XML instance into another XML instance –The output XML instance will have a different structure from the input XML instance Pa ge 24

ESRI XML to MEDIN XML MEDIN XML must be follow the ISO XML encoding –Users may wish to use other software to create and manage metadata (e.g. ESRI desktop GIS) –ESRI software manages metadata using XML –The XML does not following the ISO standard –The XML can be transformed to ISO –MEDIN provides resources to support this Pa ge 25

Stylesheet Tools Pa ge 26

ESRI ArcGIS

Versions ArcGIS 9 –FGDC / ISO ArcGIS 10 –ESRI Core Metadata –Both use XML encoding –The encodings are slightly different –Why the change at version 10? Pa ge 28

ESRI ArcCatalog – Options Pa ge 29

ESRI ArcCatalog Pa ge 30

Transformation Pa ge 31 ArcGIS 9 Metadata ArcGIS 10 Metadata MEDIN Metadata Transformation e.g. Internal usee.g. External / Publish to DAC

Transform Options Use MEDIN stylesheets –ArcGIS 9 version –ArcGIS 10 version (or the Validate button) Implementation –Any XSL stylesheet processor (version1.0), e.g: ArcGIS 9 or 10 ArcToolBox Metadata Maestro Pa ge 32