XML I NTEGRATOR Google Wave Gadget. P URPOSE Create mapping from one XML schema to another XML schema Support collaborative creation of that mapping Export.

Slides:



Advertisements
Similar presentations
Chungnam National University DataBase System Lab
Advertisements

W3C SML F2F XML Schema 1.1 Sandy Gao, IBM.
Integrated Platform version 5.2
Advanced XSLT. Branching in XSLT XSLT is functional programming –The program evaluates a function –The function transforms one structure into another.
ECHO Browse Reclassification Document ID: ECHO_Ops_Con_023 Version: 2.
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.
CSCI3170 Introduction to Database Systems
Tero Hemiö Product Data Technology Europa th Symposium May 2 nd –5 th 2000 ESTEC, Noordwijk, The Netherlands Building Technology Product Data Technology.
SRDC Ltd. 1. Problem  Solutions  Various standardization efforts ◦ Document models addressing a broad range of requirements vs Industry Specific Document.
XSLT & XPATH. From Friday Everything in XML is machine readable Attributes describe elements, so does an element’s place in the tree (context) XML must.
XSLT XML DBs, and Schemas Week 18 DSA. The Whisky Case study XSLT can be applied in the client. –Add a xml processing instruction to the xml to bind to.
Tutorial 11: Connecting to External Data
Part 1. Preparing for the exercises 1-1. Open a Web broswer (suggesting using Internet Explorer or Firefox, not Safari). Go to VRA Core site (Google "VRA.
MEDIN Standards Workshop Standards / XML / Validation / Transformation / ESRI.
Ertan Deniz Instructor.  Prepare XML documents that contain your family tree in detail  By using only elements  By using only.
Standards for Technology in Automotive Retail STAR Workbench 1.0 Michelle Vidanes & Dave Carver STAR XML Data Architects, Certified Scrum Masters.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
® IBM Software Group © 2006 IBM Corporation How to read/write XML using EGL This Learning Module shows how to utilize an EGL Library to read/write an XML.
XML Fundementals XML vs.. HTML XML vs.. HTML XML Document (elements vs. attributes) XML Document (elements vs. attributes) XML and RDBMS XML and RDBMS.
O-Mopsi Project Presentation Zhentian Wan,Vladimir Tikhomirov, Surendra Maharjan, Olawumi Olayemi,
WaveMaker Visual AJAX Studio 4.0 Training Studio Overview.
OSP Forms and Presentations in a Nutshell Tom Kuipers Universiteit van Amsterdam Information Technology Centre.
LINQ Boot Camp ADO.Net Entity Framework Presenter : Date : Mahesh Moily Nov 26, 2009.
Lecture 6 of Advanced Databases XML Schema, Querying & Transformation Instructor: Mr.Ahmed Al Astal.
An Introduction to XML Presented by Scott Nemec at the UniForum Chicago meeting on 7/25/2006.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
ETD DTD Based on ETD-ML1.1(Virginia Tech) - convert SGML DTD to XML DTD Added some tags -such as TableOfConetents, ListOfPicture, ListOfTables Added “id”
1 CIS336 Website design, implementation and management (also Semester 2 of CIS219, CIS221 and IT226) Lecture 6 XSLT (Based on Møller and Schwartzbach,
Implementing Forms and Form Renderers in the Open Source Portfolio David McPherson, Chris Maurer Will Trillich, Janice Smith Materials by Sean Keesler.
Jozef Goetz, expanded by Jozef Goetz, 2009 Credits: Parts of the slides are based on slides created by UNIX textbook authors, Syed M. Sarwar, Robert.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
Rome Producer-Archive Interface Specification Plan of Objects to be Transferred Prototype for the design and Transfer follow-up.
WebDAV Issues Munich IETF August 11, Property URL encoding At present, spec. allows encoding of the name of a property so it can be appended to.
Processing of structured documents Spring 2002, Part 2 Helena Ahonen-Myka.
DOM Robin Burke ECT 360. Outline XHTML in Schema JavaScript DOM (MSXML) Loading/Parsing Transforming parameter passing DOM operations extracting data.
Petrel Workflow Tools – 5 Day Introduction Course
Information Systems and Network Engineering Laboratory II DR. KEN COSH WEEK 1.
1 Schema Registries Steven Hughes, Lou Reich, Dan Crichton NASA 21 October 2015.
RRXS Redundancy reducing XML storage in relations O. MERT ERKUŞ A. ONUR DOĞUÇ
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
MEDIN Standards Workshop Standards / XML / Validation / Transformation / ESRI / Search.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
XML Access Control Koukis Dimitris Padeleris Pashalis.
MEDIN Standards Workshop Standards / XML / Validation / Transformation / ESRI / Search.
© 2006 Altova GmbH. All Rights Reserved. Altova ® Product Line Overview.
1 Registry Services Overview J. Steven Hughes (Deputy Chair) Principal Computer Scientist NASA/JPL 17 December 2015.
Grouping Robin Burke ECT 360. Outline Extra credit Numbering, revisited Grouping: Sibling difference method Uniquifying in XPath Grouping: Muenchian method.
Grouping Robin Burke ECT 360. Outline Grouping: Sibling difference method Uniquifying in XPath Grouping: Muenchian method Generated ids Keys Moded Templates.
Aggregator  Performs aggregate calculations  Components of the Aggregator Transformation Aggregate expression Group by port Sorted Input option Aggregate.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
GJXDM Tool Overview Schema Subset Generation Tool Demo.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
2 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any.
Generating XML Data from a Database Eugenia Fernandez IUPUI.
CH 15 XSL Transformations 1. Objective What is XSL? Overview of XSL transformations Understanding XSL templates Computing the value of a node with xsl:value-of.
Customer Report Manual
Information Systems and Network Engineering Laboratory II
October 19th 2016 Meeting Minutes.
Heppenheim Prototype for the MOT design and for the Transfer follow-up
Querying XML XQuery.
Querying XML XQuery.
Querying XML XPath.
Querying XML XPath.
CS 431 – February 28, 2005 Carl Lagoze – Cornell University
2/18/2019.
Part 1. Preparing for the exercises
Tutorial 7 – Integrating Access With the Web and With Other Programs
WEB SERVICES From Chapter 19, Distributed Systems
Oracle SQL Developer Data Modeler
Presentation transcript:

XML I NTEGRATOR Google Wave Gadget

P URPOSE Create mapping from one XML schema to another XML schema Support collaborative creation of that mapping Export that mapping as a XSLT transformation

W HAT ’ S A MAPPING ? I Translation of one or many XML elements in the source XML to an element in the destination XML More precisely, XML is a tree hierarchy of XML elements. This hierarchy structure can be defined using XSD or other ways, ex. DTD. But XSD is mostly used, therefore was chosen as the source of XML structure for this application.

W HAT ’ S A MAPPING ? II Usually, it’s required to modify the source element, so it can be mapped to a destination element. Therefore mapping must contain definition of this modification.

M APPING LIFECYCLE 1) Choose source and destination XSD 2) Add mappings 3) Create XSLT 4) Apply to a XML

E XAMPLE OF A MAPPING

M APPING DEFINITION Transformation type Maximal number of inputs (optional) XPath expression (optional) Inputs map Output list

T RANSFORMATIONS NameInputsBoundedXPathXPath enabled Identity1● Sorted2● Condition2● Sequence1 Copy-of1 Value-of1 Concatenation1 Longer2● XPath1string(#0)●

I MPLEMENTATION – DATA STRUCTURES XML Mapping Model Source schema Destination schema Elements mappings

T YPES OF EDITS Add mapping Remove mapping Change mapping’s transformation Translate mapping inside editor Add connection between mapping and other elements Source element, destination element, another mapping Remove connection

G OOGLE W AVE Google Wave Wave Robot State Server DB User

E DIT DATA STRUCTURE ID Author Type Other attributes depending on the type of edit

E DIT LIFECYCLE User creates an edit Sends it to State server Servers merges it into model Receives edit ID This ID is from increasing number sequence Puts edit into Gadget state Receives new Gadget state Merges all newer edits into local model Newer merges edit with ID higher than last edit processed by State server to the local instance of the mapping model

G ADGET STATE OVERVIEW User A User B User C State Server and Wave Robot Database Gadget State User A edits the mapping 1)Sends edit to State Server 2)State Server processes the edit (saves merged state to database) and returns edit ID 3)Edit ID and Edit is submit to Gadget state 4)Gadget state is send to each user and robot

G ADGET STATE OVERVIEW II Size limit defined by Google is 100KiB for gadget state Therefore mapping state is being held on State server Inside gadget state are some state attributes and especially set of the edits made by users When the state’s size would be greater than 100KiB, than Robot clear state and forces users to reload mapping state from the State server

P ROTOCOL – DATA STRUCTURES Model ID Version Last edit ID List of edits Edit ID Edit content

M ERGING Edits are sorted by their ID Each is processed If there would be any conflicts, the last wins, or will be ignored All edits show in the edit log

C ONFLICTS User wants edit/remove already removed mapping Edit/remove is being ignored In other cases the last edit wins

B EFORE EXPORT CHECK Not all mappings are compatible with each other, so there must be check before the export to XSLT Also there mustn’t be any cycle

L IMITS OF THE GADGET In source even in destination XSD mustn’t be any recursive structure. Otherwise the model will limit the depth of the recursion to 1.

E XAMPLE XSLT