Exchanger XML Editor - Data Import



Similar documents
Chapter 4 Accessing Data

Importing and Exporting Databases in Oasis montaj

Mail Merge Creating Mailing Labels 3/23/2011

MONAHRQ Installation Permissions Guide. Version 2.0.4

IBM DB2 XML support. How to Configure the IBM DB2 Support in oxygen

Pharmacy Affairs Branch. Website Database Downloads PUBLIC ACCESS GUIDE

In This Issue: Excel Sorting with Text and Numbers

Using SPSS, Chapter 2: Descriptive Statistics

Resources You can find more resources for Sync & Save at our support site:

Qlik REST Connector Installation and User Guide

Video Administration Backup and Restore Procedures

Suite. How to Use GrandMaster Suite. Exporting with ODBC

BulkSMS Text Messenger Product Manual

How to Connect to CDL SQL Server Database via Internet

Using the SQL TAS v4

Accounts Receivable: Importing Remittance Data

Advanced Excel 10/20/2011 1

Jet Data Manager 2012 User Guide

Querying Databases Using the DB Query and JDBC Query Nodes

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

VP-ASP Shopping Cart Quick Start (Free Version) Guide Version 6.50 March

Database migration using Wizard, Studio and Commander. Based on migration from Oracle to PostgreSQL (Greenplum)

DbSchema Tutorial with Introduction in SQL Databases

WHAT S NEW IN MS EXCEL 2013

Working with SQL Server Integration Services

Supplement IV.D: Tutorial for MS Access. For Introduction to Java Programming By Y. Daniel Liang

USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)

ODBC Driver Version 4 Manual

Microsoft Access Rollup Procedure for Microsoft Office Click on Blank Database and name it something appropriate.

New Orleans 2007 Workshop Tips For Using Microsoft Excel to Analyze EMSC Data and Generate Reports Pivot Tables and Other Goodies

March Module 3 Processing MOVES Output

ConvincingMail.com Marketing Solution Manual. Contents

Sophos Reporting Interface Creating Reports using Crystal Reports 2008

FileMaker 12. ODBC and JDBC Guide

Microsoft Office. Mail Merge in Microsoft Word

2. Unzip the file using a program that supports long filenames, such as WinZip. Do not use DOS.

Excel Pivot Tables. Blue Pecan Computer Training Ltd - Onsite Training Provider :: :: info@bluepecan.co.

User Guide. Opening secure from the State of Oregon Viewing birth certificate edits reports in MS Excel

Company Setup 401k Tab

Oracle Fusion Middleware

Published. Technical Bulletin: Use and Configuration of Quanterix Database Backup Scripts 1. PURPOSE 2. REFERENCES 3.

Uploading Ad Cost, Clicks and Impressions to Google Analytics

How To Use Optimum Control EDI Import. EDI Invoice Import. EDI Supplier Setup General Set up

ODBC (Open Database Communication) between the ElevateDB Database and Excel

DBQT - Database Query Tool Manual 1/11. Manual DBQT. Database Query Tool. Document Version: unu.ch

ODBC (Open Database Connectivity) for MS-Excel Microsoft OLE DB Provider for ODBC Drivers (Legitronic v3.6.2 & Later)

How to install and use the File Sharing Outlook Plugin

Visualization with Excel Tools and Microsoft Azure

Linking from a Company Database to Components in Your Design

Accessing Your Database with JMP 10 JMP Discovery Conference 2012 Brian Corcoran SAS Institute

Toad for Data Analysts, Tips n Tricks

Migrating to Azure SQL Database

Printing with Calc Title: Printing with Calc Version: 1.0 First edition: December 2004 First English edition: December 2004

THE EMPLOYER S CPD RECORDING TOOL INSTRUCTIONS

Creating a Participants Mailing and/or Contact List:

SerialMailer Manual. For SerialMailer 7.2. Copyright Falko Axmann. All rights reserved.

WebSphere Business Monitor V6.2 KPI history and prediction lab

Site Maintenance. Table of Contents

BAT Smart View for Budget Users. Miami-Dade County. BAT Smart View Training Activity Guide

emobile Bulk Text User Guide Copyright Notice Copyright Phonovation Ltd

Database Forms and Reports Tutorial

Vodafone Bulk Text. User Guide. Copyright Notice. Copyright Phonovation Ltd

Linking Access to SQL Server

CloudCTI Recognition Configuration Tool Manual

Connect to MySQL or Microsoft SQL Server using R

Two new DB2 Web Query options expand Microsoft integration As printed in the September 2009 edition of the IBM Systems Magazine

FileMaker 14. ODBC and JDBC Guide

Analyzing Excel Data Using Pivot Tables

Using the Advanced Tier Data Collection Tool. A Troubleshooting Guide

Installing a Browser Security Certificate for PowerChute Business Edition Agent

The first thing to do is choose if you are creating a mail merge for printing or an merge for distribution over .

Deploying Physical Solutions to InfoSphere Master Data Management Server Advanced Edition v11

Chapter 2 The Data Table. Chapter Table of Contents

4. The Third Stage In Designing A Database Is When We Analyze Our Tables More Closely And Create A Between Tables

Publish Joomla! Article

BIGPOND ONLINE STORAGE USER GUIDE Issue August 2005

FileMaker 13. ODBC and JDBC Guide

MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11

FileMaker 11. ODBC and JDBC Guide

IBM Emptoris Contract Management. Release Notes. Version GI

Mastering Mail Merge. 2 Parts to a Mail Merge. Mail Merge Mailings Ribbon. Mailings Create Envelopes or Labels

TriCore Secure Web Gateway User Guide 1

Using Delphi Data with Excel and Access

Creating an Excel Database for a Mail Merge on a PC. Excel Spreadsheet Mail Merge. 0 of 8 Mail merge (PC)

Basics Series-4004 Database Manager and Import Version 9.0

Microsoft Excel 2013: Macro to apply Custom Margins, Titles, Gridlines, Autofit Width & Add Macro to Quick Access Toolbar & How to Delete a Macro.

ibolt V3.2 Release Notes

Excel 2010 Sorting and Filtering

Oracle Hyperion Financial Data Quality Management, Fusion Edition ERP Source Adapter for SAP Financials. Readme. Purpose. Overview.

Tech Note 663 HMI Reports: Creating Alarm Database (WWALMDB) Reports

Creating Codes with Spreadsheet Upload

How To Write A File System On A Microsoft Office (Windows) (Windows 2.3) (For Windows 2) (Minorode) (Orchestra) (Powerpoint) (Xls) (

Converting InfoPlus.21 Data to a Microsoft SQL Server 2000 Database

SmartOffice Configuration Guide for Microsoft Windows XP Service Pack 2

Importing Data from a Dat or Text File into SPSS

TAMUS Remote Desktop Setup For BPP SQL & Alva

Generating Open For Business Reports with the BIRT RCP Designer

Transcription:

Exchanger XML Editor - Data Import Copyright 2005 Cladonia Ltd Table of Contents Data Import... 2 Import From Text File... 2 Import From Excel File... 3 Import From Database Table... 4 Import From SQL/XML Query... 7 Exchanger XML Editor - Data Import 1

Data Import Exchanger XML provides a number of ways to import from various external data sources including structured text files, Excel spreadsheets and database tables. Import From Text File Select File->Import->From Text File... and set the Location URL to projects/import Text/input/assets.txt In the Options section of the Import... dialog, set the Document Element to be Assets and the Row Element to Item. The Field Delimiter defaults to Comma, but can be set explicitly in the drop down if required. If the data contains characters such as < or &, then ensure that these special characters are escaped with entities by checking the appropriate tick box. The input data is displayed in the Dialog in tabular form above a Preview containing an example of what the generated XML will look like. 2

Figure 1. Import From Text File The first row of this particular input file contains field names and these will be used as tokens in the created XML file. However, the field names (along with all other values) can be edited directly in the tabular preview by double-clicking on the desired item and entering the required value. By default, all data items in the input will be converted to element content, but this can be over-ridden by clicking on the individual column headers. Clicking once on a column header will cause the data from this column to be used as attribute values on the row elements, rather than as separate child elements. Clicking a second time will cause the column's data to be ignored when generating the XML file. Repeatedly clicking on the column header will cycle through the 3 different options. For the CompanyID and AssetID columns, set the field type to ="ATTRIBUTE" and for some other columns, set the type to <!--SKIP--> and the Preview should adjust accordingly. Now, click OK and the complete XML file corresponding to the input data will open in the editor. Import From Excel File Select File->Import->From Excel File... and set the Location URL to projects/import Excel/input/sample.xls In the Worksheet section of the Import... dialog, choose Sheet 1 in the drop down menu, and set Import Formulas to No. Set the Document Element to Contacts and the Row Element to Person. The input data is displayed in the Dialog in tabular form above a Preview containing an example of what the generated XML will look like. 3

Figure 2. Import From Excel File The first row of this particular input file contains field names and these will be used as tokens in the generated XML file. However, the field names (along with all other values) can be edited directly in the tabular preview by double-clicking on the desired item and entering the required value. By default, all data items in the input will be converted to element content, but this can be over-ridden by clicking on the individual column headers. Clicking once on a column header will cause the data from this column to be used as attribute values on the row elements, rather than as separate child elements. Clicking a second time will cause the column's data to be ignored when generating the XML file. Repeatedly clicking on the column header will cycle through the 3 different options. For the Surname column, set the field type to ="ATTRIBUTE" and for the County column, set the type to <!--SKIP--> and the Preview should adjust accordingly. Now, click OK and the complete XML document corresponding to the input Excel spreadsheet will open in the editor. Import From Database Table When importing data from database tables, the appropriate JDBC drivers must be made available to the application using the System tab in the File->Preferences dialog. The JDBC-ODBC bridge is automatically included by default and can be used to easily access SQL Server databases, among others. See the Preferences section of this documentation for more details on adding Jar/Zip files for other drivers to the application. Select File->Import->From Database Table... and enter the connection details. Using the JDBC-ODBC bridge, the Driver field is sun.jdbc.odbc.jdbcodbcdriver while the Database field will be similar to jdbc:odbc:localserver. Figure 3. Import From Database Using ODBC Using the Microsoft Type 4 Driver, the corresponding fields would be something like com.microsoft.jdbc.sqlserver.sqlserverdriver and jdbc:microsoft:sqlserver://localhost:1433;databasename=northwind; 4

Figure 4. Import From SQL Server Database Using the LGPL version of the MySQL driver that is bundled with Exchanger XML, the Driver field is org.gjt.mm.mysql.driver while the Database field will be similar to jdbc:mysql://localhost:3306/testdb. Figure 5. Import From MySQL Database Enter the appropriate Username and Password, and click OK. In the Import... dialog, choose the appropriate Table and set the Document Element and Row Element as required. If the data contains characters such as < or &, then ensure that these special characters are escaped with entities by checking the appropriate tick box. (If the database contains Blobs of valid XML, then there is no need to perform this escaping). Select the field types as described in the preceding sections and enter criteria for the Where, Order By, and Group By clauses at the bottom of the dialog, as necessary. Now, click OK and the complete XML document corresponding to the database table will open in the editor. 5

Figure 6. Import From Database Table 6

Import From SQL/XML Query A number of databases, including IBM DB2 and Oracle, support a standard mechanism for automatically generating XML output from SQL-like queries. Ensure that the correct JDBC drivers have been added to the application and then select File->Import->From SQL/XML Query... Enter the appropriate Driver, Databse, Username and Password in the connection dialog, and click OK. Figure 7. Import From SQL/XML Query For the IBM DB2 Universal Driver, the Driver field is com.ibm.db2.jcc.db2driver while the Database field will be similar to jdbc:db2://localhost:50000/sample. In the popup window, either manually type in a query or use the Import Script button and select the file sample.sqx from the Import SQL/XML project. Figure 8. Import SQL/XML Script Press OK and the query results will be displayed in the Editor. Note that SQL/XML will not always return valid XML - often, the returned elements will need to be surrounded by a root element. 7