Product Training Program

Slides:



Advertisements
Similar presentations
Tutorial 9 – Creating On-Screen Forms Using Advanced Table Techniques
Advertisements

Visual Scripting of XML
An Introduction to XML Based on the W3C XML Recommendations.
MP IP Strategy Stateye-GUI Provided by Edotronik Munich, May 05, 2006.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Microsoft Excel 2003 Illustrated Complete Excel and Advanced Worksheet Management Customizing.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Microsoft Office Word 2013 Expert Microsoft Office Word 2013 Expert Courseware # 3251 Lesson 4: Working with Forms.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Databases and LINQ Visual Basic 2010 How to Program 1.
Advanced Excel for Finance Professionals A self study material from South Asian Management Technologies Foundation.
® IBM Software Group © 2009 IBM Corporation Rational Publishing Engine RQM Multi Level Report Tutorial David Rennie, IBM Rational Services A/NZ
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
An Introduction to Designing and Executing Workflows with Taverna Katy Wolstencroft University of Manchester.
Introduction to Arrays. definitions and things to consider… This presentation is designed to give a simple demonstration of array and object visualizations.
Teacher’s Assessment Assistant Worksheet Builder Starting the Program
Salt Suite User Guide (Copyright Salt ).
Pasewark & Pasewark 1 Publisher Lesson 2 Enhancing Publisher Documents Microsoft Office 2007: Introductory.
Oracle Data Integrator Transformations: Adding More Complexity
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
Page 1 Non-Payroll Cost Transfer Enhancements Last update January 24, 2008 What are the some of the new enhancements of the Non-Payroll Cost Transfer?
Microsoft ® Office Excel 2003 Training Using XML in Excel SynAppSys Educational Services presents:
Introduction to ArcGIS for Environmental Scientists Module 3 – GIS Analysis Model Builder.
Graphical Enablement In this presentation… –What is graphical enablement? –Introduction to newlook dialogs and tools used to graphical enable System i.
1 11 Exploring Microsoft Office Access 2007 Chapter 6 Data Protection.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
Chapter 3 Automating Your Work. It is frustrating when you have to type the same passage of text repeatedly. For example your name and address. Word includes.
ODS – Introduction to Web Services and BPEL Vakgroep Informatietechnologie Web Services & BPEL Design of Distributed Software.
Unit 3: Text, Fields & Tables DT2510: Advanced CAD Methods.
Chapter 7 Creating Templates, Importing Data, and Working with SmartArt, Images, and Screen Shots Microsoft Excel 2013.
Product Training Program
Excel Tutorial 8 Developing an Excel Application
June 17, 2009 Office 2007 Tips & Tricks.
Visual Basic 2010 How to Program
Multi-Axis Tabular Loads in ANSYS Workbench
Spreadsheet – Microsoft Excel 2010
Product Training Program
Displaying XML Data with XSLT
Practical Office 2007 Chapter 10
Forms and Reports 09.
IBM Rational Rhapsody Advanced Systems Training v7.5
Lesson 3: Customizing Document Elements
Building a User Interface with Forms
Data Virtualization Tutorial: XSLT and Streaming Transformations
Product Training Program
How to automatise the grid production - using model builder in ArcGIS
Data Virtualization Tutorial: JSON_TABLE Queries
2008 Physiological Measurements
ALEPH Version 22 Beginning Cataloging
© Paradigm Publishing, Inc.
MODULE 7 Microsoft Access 2010
Chapter 2 – Introduction to the Visual Studio .NET IDE
Test Information Distribution Engine (TIDE) Training
Benchmark Series Microsoft Word 2016 Level 2
Microsoft Office Access 2003
Microsoft Office Access 2003
Creating a Word Document – Part 1
Data Scenario: Header and Details files
Using Templates and Library Items
Download from Zotero Home Page
European Computer Driving Licence
Tutorial 7 – Integrating Access With the Web and With Other Programs
HP Quality Center 10.0 The Test Plan Module
Rational Publishing Engine RQM Multi Level Report Tutorial
Guidelines for Microsoft® Office 2013
Product Training Program
Unit J: Creating a Database
ESeries Widgets Justin Kishbaugh.
Presentation transcript:

Product Training Program Unit 5 – Data Mapper

Data Mapper Basics

What is the Data Mapper? The PilotFish Data Mapper is a graphical, drag-and-drop three-pane mapping tool for building XSLT transformations without needing an expertise in XSLT syntax. The Mapper provides the ability to load in the specifications of the source and target formats being mapped to use as guides for the mapping. Mapping is accomplished by dragging and dropping nodes from the source panel (left) and target panel (right) onto the center panel. All advanced XPath and XSLT functions are available in a tools palette (top) and can be accessed through the same drag-and-drop mechanism. If a user wants to dive into the code, the graphical mapping generates standard XSLT, which can be viewed and edited via the XSLT tab. The code and the graphical view always stay in sync no matter what, changes in one automatically update in the other. The Mapper also includes a full testing suite in its Testing tab, which allows rapid testing of the mapping as it is being built.

Creating Mappings To create a new mapping, simply open the Data Mapper from within a PilotFish eiConsole Route’s XSLT Transformation panel. To edit an existing mapping, one can be opened from the same location.

Format Builders

What are Format Builders? To help with performing the mappings, the Data Mapper allows the user to define source and target formats. These formats are graphical representations of the XML documents being mapped in the XSLT transformation. Formats are built using Format Builders, which load in external files and generate the graphical representation of the XML. XML-based formats can be loaded simply through the use of the XML & XSD Format Builders. Specific XML schemas, like ACORD and FHIR, have their own unique Format Builders with special features for those schemas. Non-XML based formats can be loaded using a variety of other Format Builders for those specific file types. HL7 and Microsoft Excel are examples of some of these. All Format Builders correspond to the automated PilotFish Transformation Modules. A transformer that automatically converts data to/from XML and a Format Builder for that same format will always produce the same XML structure, providing a guarantee that the format worked with in the Data Mapper will work with the Transformers.

Format Builders – Special Features

Special Features of Format Builders When loading XSD schemas, all documentation becomes available as popup tooltips for each element in the Format tree. For special formats like HL7, a large amount of metadata is bundled with the application. Descriptions of fields, acceptable coded values, etc, are all available for reference in the bottom part of the Format Panel.

Doing Mapping

How to Map Mapping in the Data Mapper is as simple as dragging nodes from the source and target panels onto the center panel. Since XSLT is about building the target structure, the general flow of mapping tends to involve dropping target elements onto the center panel to build the mapping, and then dropping source elements on top of them to map their values to the targets. As a mapping is built via drag-and-drop, checking the XSLT tab in the Data Mapper will reveal that a fully standard XSLT document is being built by the drag-and-drop operation. Generally, dropping a source element onto a target element will create an implicit <xsl:value-of select=“expression” /> element in the XSLT, with the expression pre-populated with the XPath to the source element.

Using Target Format as Template Because XSLT mappings are designed to build a target, output XML document, it can sometimes to be helpful to populate the entire target format onto the mapping at once. The “Add Target Sample Data as Template” option in the Data Mapper does just that, it will populate the entire target format at once, which can then be used to do the necessary mapping.

Tools Palette

Data Mapper Tools Palette XSLT and XPath have a variety of advanced functions, complex elements, flow-control structures, extensions, and other tools for building complex mappings. All of this, plus a few PilotFish specific goodies, are all available in the tools panel, located above the center mapping. Organized into categories in tabs, they are also accessible via the quick search box. Using any of these features is as simple as dragging-and-dropping, same as the rest of the mapping. The tools palette items tend to be restricted to only being dropped in places where they are allowed based on the XSLT specification, so there never needs to be concern about using any of these things improperly.

Tabular Mappings

What is a Tabular Mapping? A Tabular Mapping is a shortcut for creating an XSLT Template that uses a Choose statement to replace values. Like all Data Mapper tools, it can be found in the top tools palette. It can only be dropped onto a mapped source node with the value that is going to be converted using the Tabular Mapping. It specifies a series of input values, and maps them to their corresponding output values. This simple graphical tool allows each value mapping to be quickly configured, and then automatically builds the XSLT template needed for it. It then adds a call to that template to retrieve the value to the code at the point it was dropped on.

XML & XSLT Structures in the Data Mapper

Namespaces For the most part, namespaces are automatically handled by the Data Mapper on an as-needed basis. If the source or target format has a namespace, it is populated as soon as the first node is dropped onto the center mapping panel. If any functions, extensions, etc, from the tools panel require special namespaces, they are populated automatically as soon as that particular item is dragged onto the center mapping panel.

Predicates XPath Predicates still need to be manually entered into XPath expressions. However, doing so is quite simple. Whenever a source element is dropped onto the center mapping panel, a full XPath expression minus any predicates is created. That XPath expression can be edited by double-clicking on the “@select” node in the mapping to open a text field. Simply add the predicate wherever it needs to go, and press Enter to save the changes.

Templates Templates can be created in two ways, one for the “root” template, and one for other templates. The “root”, or first, template, is created by a simple drag-and-drop from the source and target formats. The root element of the source format is dragged first onto the Stylesheet element, and the root element of the target format is dragged on top of it. This implicitly creates the root template in the XSLT. Other templates can be created using the tools palette. Both regular templates that match on XPath expressions, and named templates that are invoked by their name, can be created here. Other template-related expressions, such as call-template and apply-templates, can also be found in the tools palette.

Conditions and Iteration All the logic for iteration and conditions in XSLT can be found in the top tools palette, including for-each, if, and choose/when/otherwise. For for-each, the XPath expression to iterate over is exposed via a child node called “@select”. A source node representing the XPath to iterate over should be dragged onto that “@select”, and it will be automatically populated with the necessary XPath. For if and when, their conditions are exposed via a “@test” node. Filling in the boolean expression will generally be done the same way as adding a predicate, by double-clicking on it to open up its text field.

Variables and Parameters Variables and Parameters can also be declared in the drag-and-drop in the same way as other tools, by dragging-and-dropping them from the tools palette. A special feature of the Data Mapper is the Variables tab in the tools palette, which shows what variables are available for use. It filters the variables based on what node is selected in the center mapping, so make sure that the place the variable is to be used is selected, because it will only be displayed if it is valid there.

Identity Transformations The Identity Transformation can be done in the Data Mapper by finding the “Identity Template” node in the tools palette. Dragging-and-dropping it onto the center mapping automatically populates the full logic of an Identity Transformation. Additional templates can then be added normally through drag-and-drop following the normal Identity Transform process.