UML Basics and XML Basics Navigating the ISO Standards.

Slides:



Advertisements
Similar presentations
Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular.
Advertisements

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.
An Introduction to XML Based on the W3C XML Recommendations.
MMDE5011 – INTERACTIVE MEDIA PRACTICE 1 WEEK 1: INTRODUCTION TO HTML5
© 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.
1 XML and QUERY Shilpi Ahuja CSE Data Mining 4 th April 2002.
Geospatial standards Beyond FGDC Geog 458: Map Sources and Errors March 3, 2006.
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
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.
National Coastal Data Development Center A division of the National Oceanographic Data Center Please a list of participants at each location to
XML TOPIC MAP JUNG J. W.. SNU OOPSLA Lab. contents What ’ s XTM? Why XTM? Element of XTM XTM Conceptual Model DTD Introduction to XTM Syntax.
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.
ISO Standards: Status, Tools, Implementations, and Training Standards/David Danko.
10/14/2001 Coping with Semantics in XML Document Management Thomas Kudrass Leipzig University of Applied Sciences Department of Computer Science and Mathematics.
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.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
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.
WORKING WITH XSLT AND XPATH
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:
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
A Z Approach in Validating ORA-SS Data Models Scott Uk-Jin Lee Jing Sun Gillian Dobbie Yuan Fang Li.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Metadata Creation and Validation Methods. Writing Metadata.
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.
Processing of structured documents Spring 2002, Part 2 Helena Ahonen-Myka.
1 Chapter 10: XML What is XML What is XML Basic Components of XML Basic Components of XML XPath XPath XQuery XQuery.
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.
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.
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.
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.
Advanced Accounting Information Systems Day 31 XML Language Foundation November 6, 2009.
Tutorial 13 Validating Documents with Schemas
Transitioning from FGDC CSDGM Metadata to ISO 191** Metadata
Metadata Content. Levels of Metadata Discovery Access Understanding Metadata Standards Additional Metadata Common Core Metadata Why standards Which standards.
Comparison of CEN, FGDC and ISO standards for metadata Ing. Jan Ruzicka Institute of Economics and Control Systems VŠB – Technical university Ostrava 17.
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.
ESDI Workshop on Conceptual Schema Languages and Tools
Introducing XLink and XPointer ©NIITeXtensible Markup Language/Lesson 10/Slide 1 of 23 Objectives In this lesson, you will learn to: * Identify the types.
Geography Markup Language (GML). GML What is GML? – Scope  The Geography Markup Language is  a modeling language for geographic information  an encoding.
Games: XML Presented by: Idham bin Mat Desa Mohd Sharizal bin Hamzah Mohd Radzuan bin Mohd Shaari Shukor bin Nordin.
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.
A look to the past for the future- The North American Profile Sharon Shin Metadata Coordinator Federal Geographic Data Committee.
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.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 14 This presentation © 2004, MacAvon Media Productions XML.
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.
XML Namespaces In this first lesson XML Namespaces, you will learn to:
Web Services: Principles & Technology Slide 3.1 Chapter 3 Brief Overview of XML COMP 4302/6302.
Geospatial metadata Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
Introduction to XML SSE 3200 Web-based Services Michigan Technological University Nilufer Onder.
AIXM 5 UML to XSD.
AIXM 5.1 XML Developers' Seminar #2 – Dec 2009
XML QUESTIONS AND ANSWERS
Eugenia Fernandez IUPUI
UML to XSD.
The Re3gistry software and the INSPIRE Registry
XML Data Introduction, Well-formed XML.
Raphael Malyankar; Eivind Mong
Data Model.
CSE591: Data Mining by H. Liu
Presentation transcript:

UML Basics and XML Basics Navigating the ISO Standards

“HOMEWORK” REVIEW

Resources Series Materials: ftp://ftp.ncddc.noaa.gov/pub/Metadata/Online_ISO_Traini ng/Intro_to_Geospatial_Metadata/ UML: XML Tutorial:

Production Rules of ISO UML Diagrams

Unified Modeling Language (UML) is used to represent the relationships among classes and objects in object oriented programming.

Example UML – Class Diagram with attributes and operations

UML Notation

UML - Cardinality

ISO Metadata Implementation 9 Aggregated Class Name Class Attributes Attribute Name Conditionality (blank) = required, not repeatable [1..*] = required, repeatable [0..1] = optional, not repeatable [0..*] = optional, repeatable Attribute Type Character String Codeset Value Class Date Note Field

ISO AS SEEN IN UML

MD_Metadata

ISO – VARIOUS CLASSES

CI_Citation

CI_ResponsibleParty

Since updated to SV_ServiceIdentification identificationInfo

XML BASICS

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.

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

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 id 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:

ISO Attributes uuid 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”

ISO Attributes uuidref 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.

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

ISO Attributes XLinks 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.

ISO Attributes xlink:href 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).

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

ISO Attributes nilReason 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”.

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.

ISO CodeLists theme

EXAMPLE XML RECORDS Collection/iso/

QUESTIONS