National Coastal Data Development Center A division of the National Oceanographic Data Center Please a list of participants at each location to

Slides:



Advertisements
Similar presentations
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.
Advertisements

Web Development & Design Foundations with XHTML
Teppo Räisänen LIIKE/OAMK 2010
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
An Introduction to XML Based on the W3C XML Recommendations.
MMDE5011 – INTERACTIVE MEDIA PRACTICE 1 WEEK 1: INTRODUCTION TO HTML5
National Coastal Data Development Center A division of the National Oceanographic Data Center Please a list of participants at each location to
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
Introduction to XLink Transparency No. 1 XML Information Set W3C Recommendation 24 October 2001 (1stEdition) 4 February 2004 (2ndEdition) Cheng-Chia Chen.
Thayer School of Engineering Dartmouth Lecture 2 Overview Web Services concept XML introduction Visual Studio.net.
National Coastal Data Development Center A division of the National Oceanographic Data Center Please a list of participants at each location to
National Coastal Data Development Center A division of the National Oceanographic Data Center Please a list of participants at each location to
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
Introduction to Geospatial Metadata – ISO 191** Metadata National Coastal Data Development Center A division of the National Oceanographic Data Center.
ECA 228 Internet/Intranet Design I Intro to XML. ECA 228 Internet/Intranet Design I HTML markup language very loose standards browsers adjust for non-standard.
Introduction to Geospatial Metadata – FGDC CSDGM National Coastal Data Development Center A division of the National Oceanographic Data Center Please .
Transitioning from FGDC CSDGM Metadata to ISO 191** Metadata National Coastal Data Development Center A division of the National Oceanographic Data Center.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
15 November 2005Linking Outside the Box1 Cross referencing between XML documents Bob Stayton Sagehill Enterprises
Oy Metadata Content j of Metadata. Discovery Access Understanding Levels of Metadata joy of Metadata Metadata Standards Why standards Which standards.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation Document Type Definition.
XP New Perspectives on XML Tutorial 6 1 TUTORIAL 6 XSLT Tutorial – Carey ISBN
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.
XML Language Family Detailed Examples Most information contained in these slide comes from: These slides are intended.
CISC 3140 (CIS 20.2) Design & Implementation of Software Application II Instructor : M. Meyer Address: Course Page:
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Metadata Creation and Validation Methods. Writing Metadata.
Session IV Chapter 9 – XML Schemas
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.
How do I use HTML and XML to present information?.
XML Part 2 Josh Steele CS 6704, Spring XML Part 2 XSL/XSLT –Structure Revisited –Definition –Example –Components XML’s Linking Languages XML’s Uses.
CIS 451: XML DTDs Dr. Ralph D. Westfall February, 2009.
XHTML and CSS Session 1 Intro, (X)HTML, CSS, W3C, browsers, webpage, structure, tags, attributes, elements, web development process, basic XHTML elements.
Transitioning from FGDC CSDGM Metadata to ISO 191** Metadata National Coastal Data Development Center A division of the National Oceanographic Data Center.
National Coastal Data Development Center A division of the National Oceanographic Data Center Please a list of participants at each location to
Advanced ISO Topics ISO for Data Documentation. Contents Content Updates – gmx:Anchor for text – Codelists NCEI Component Registry – Resolved Records.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
Part One Review Policy Intro to ISO Levels of Metadata Data Discovery.
XLinks Praveen Polishetty. Contents : XLink Capabilities XLink Concepts XLink Core Properties XLink Semantic Properties XLink Behavior Properties XLink.
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
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 Basics A brief introduction to XML in general 1XML Basics.
Introduction to Geospatial Metadata – FGDC CSDGM National Coastal Data Development Center A division of the National Oceanographic Data Center Please .
Transitioning from FGDC CSDGM Metadata to ISO 191** Metadata
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Introduction to Geospatial Metadata – ISO 191** Metadata National Centers for Environmental Information (NCEI)
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
Introduction to Geospatial Metadata – FGDC CSDGM National Coastal Data Development Center A division of the National Oceanographic Data Center Please .
Introduction to XML XML – Extensible Markup Language.
Introducing XLink and XPointer ©NIITeXtensible Markup Language/Lesson 10/Slide 1 of 23 Objectives In this lesson, you will learn to: * Identify the types.
UML Basics and XML Basics Navigating the ISO Standards.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Geography Markup Language (GML). GML What is GML? – Scope  The Geography Markup Language is  a modeling language for geographic information  an encoding.
ISO 191** Overview A “Family” of Standards. Resources ISO Standards Web Page – Technical.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Linking XML Documents Ellen Pearlman Eileen Mullin Programming the Web.
Transitioning from FGDC CSDGM Metadata to ISO 191** Metadata National Coastal Data Development Center A division of the National Oceanographic Data Center.
XML CORE CSC1310 Fall XML DOCUMENT XML document XML document is a convenient way for parsers to archive data. In other words, it is a way to describe.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 14 This presentation © 2004, MacAvon Media Productions XML.
PART 1 XML Basics. Slide 2 Why XML Here? You need to understand the basics of XML to do much with Android All of they layout and configuration files are.
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.
HTML Structure & syntax
AIXM 5.1 XML Developers' Seminar #2 – Dec 2009
Session III Chapter 6 – Creating DTDs
XML Data Introduction, Well-formed XML.
Raphael Malyankar; Eivind Mong
CSE591: Data Mining by H. Liu
Session II Chapter 6 – Creating DTDs
Presentation transcript:

National Coastal Data Development Center A division of the National Oceanographic Data Center Please a list of participants at each location to Also questions for the Q&A session to Introduction to Geospatial Metadata – ISO 191** Metadata

Series Materials - ftp://ftp.ncddc.noaa.gov/pub/Metadat a/Online_ISO_Training/ NOAA EDM Wiki ( ) - ide.noaa.gov/wiki/index.php?title=Mai n _Page Workbooks - standards/ ISO Resources

XML Basics

Tag A markup construct that begins with " ”. start-tags end-tags Element A logical component of a document which either begins with a start- tag and ends with a matching end-tag, or consists only of an empty- element tag. Any characters between the start- and end-tags are the element's content, and may contain markup, including other elements, which are called child elements. Hello, world. Attribute A markup construct consisting of a name/value pair that exists within a start-tag or empty-element tag. In the example (below) the element step has one attribute, number with a value of “3”: Connect A to B.

Connect A to B Open tag: Close tag: Element name: Attribute: Content: XML Basics

insert text insert text xmlns:gmi=“ xmlns:gmd=“ xmlns:gco=" Namespaces These codes are called namespaces. The namespace is a container providing context and rules for items. A definition of a term may change, depending on what namespace is applied.

Namespace Abbreviations gco Geographic Common extensible markup language gfc Geographic Feature Catalogue extensible markup language gmd Geographic Metadata extensible markup language gmx Geographic Metadata XML schema gss Geographic Spatial Schema extensible markup language gsr Geographic Spatial Referencing extensible markup language gts Geographic Temporal Schema extensible markup language gml Geography Markup Language xlink XML Linking Language xs W3C XML base schemas

XML Basics Geographic information - Metadata Open tag: Close tag: Element name: Attribute: Content:

ISO Attributes id idref idrefs uuid uuidref uom frame calendarEraName indeterminatePosition Xlinks type href role arcrole title show actuate nilReason

ISO Attributes An identifier for the element that, if specified, must be unique within the XML document. The value of the identifier must always start with a letter, a '_' or a ':'. An XML element can only have one attribute of type ID. The identifiers used in the id attribute are XML Names, which have significant restrictions. They must begin with a letter or an ‘_’ or ‘:’, and, after the first character, be composed only of letters, digits,., _, and -. This attribute is often mandatory for such items as units and extents. Ex: id

ISO Attributes The UUIDs are Universally Unique Identifiers, which also have special characteristics. A UUID is assigned to an object when it is created and is stable over the entire lifespan of the objects. A UUID of a deleted object cannot be used again. UUIDs are required for long-term distributed data management and for realizing update mechanisms. These identifiers are also called persistent identifiers. A UUID is a 16-byte number that consists of 32 hexadecimal (0-9 and a-f) values. The values are split into five groups, separated by hyphens in the form or for a total of 36 characters (32 values and 4 hyphens). Ex: uuid=“594D435F-954C E7-D62F30CD0592” uuid

ISO Attributes A reference to an XML element in the XML document. The value must correspond to an attribute value of type ID in an existing XML element. The uuidref attribute allows an XML element to refer to another XML element within the same document that has a corresponding id attribute. uuidref

ISO Attributes Ex: References: NOAA/OAR/OER - Ocean Exploration and Research ….etc… uuid uuidref

ISO Attributes The XML Linking Language (XLink) allows elements to be inserted into XML documents in order to create and describe links between resources, similar to HTML hyperlinks. Linking elements are recognized based on the use of a designated attribute named xml:link and a set of accompanying global attributes. The global attributes are type, href, role, arcrole, title, show, and actuate. If an XLink is used, the following ISO component is not used. XLinks

ISO Attributes The value of the href attribute in linking elements contains a locator that identifies a resource, e.g., by a URI-reference or by an XPointer specification. The xlink href attribute is used to reference a component, and the xlink title attribute is used to apply a human understandable name to the component. Components are snippets of XML describing a specific piece of metadata content, such as information about people, websites, documents, archives, instruments, etc. XLinks can be used to reference a component from an unresolved metadata record (unresolved meaning that the metadata record contains xlinks). xlink:href

ISO Attributes NOAA/OAR/OER - Ocean Exploration and Research etc… Unresolved: Resolved:

ISO Attributes The nilReason attribute is used to explain why an element is not included in the XML. This attribute allows a reason (explaining why the actual value cannot be provided) to exist in place on an actual value. It can have the values “inapplicable”, “missing”, “template”, “unknown”, and “withheld”. nilReason

ISO CodeLists CodeLists are used to refer to a specific codelist value in a register. Codelists contain the attributes “codeList”, “codeListValue”, and “codeSpace”. The codeList attribute is mandatory and contains a URL that references a codeList definition within a registry or a codeList catalogue. The codeListValue attribute is also mandatory and contains the name of the selected value. The codeSpace attribute is optional and refers to the alternative expression of the codeListValue. codeList codeListValue

ISO CodeLists theme

Exercise: Reading a Metadata File (ISO 19115) ftp://ftp.ncddc.noaa.gov/pub/Metadata/Online_I SO_Training/Intro_to_ISO/ Go to ‘exercises’ - Reading_a_Metadata_File_exercise.doc Use this record, in ‘sample_metadata’ XML version: EX1003_Cruise_Levelunresolved.xml HTML Version EX1003_Cruise_Levelunresolved.html

XML Basics questions for the Q&A session to