Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Talend Open Studio for Data Integration

You're reading from   Getting Started with Talend Open Studio for Data Integration This is the complete course for anybody who wants to get to grips with Talend Open Studio for Data Integration. From the basics of transferring data to complex integration processes, it will give you a head start.

Arrow left icon
Product type Paperback
Published in Nov 2012
Publisher Packt
ISBN-13 9781849514729
Length 320 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Jonathan Bowen Jonathan Bowen
Author Profile Icon Jonathan Bowen
Jonathan Bowen
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Getting Started with Talend Open Studio for Data Integration
Credits
Foreword
Foreword
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Knowing Talend Open Studio FREE CHAPTER 2. Working with Talend Open Studio 3. Transforming Files 4. Working with Databases 5. Filtering, Sorting, and Other Processing Techniques 6. Managing Files 7. Job Orchestration 8. Managing Jobs 9. Global Variables and Contexts 10. Worked Examples Installing Sample Jobs and Data Resources Index

Transforming XML to CSV


Let's start with a simple file format transformation. Many modern applications use Extensible Markup Language (XML) formats to get data in and out. Other, often simpler, systems use a Comma Separated Format (CSV). Common, desktop-based systems, such as Excel and Access, have wizards for taking data in the CSV format. We'll work through the process of taking a simple XML file and extracting its data into a comma-separated format.

Before we dive in and actually start to configure a the Studio job, let's look at the data that we want to transform. Our input file is an XML product catalogue named catalogue.xml, which is present in the datafiles of this chapter. Open this in the XML viewer of your choice. You can see that the data is pretty self-explanatory. The file contains data about Stock Keeping Units (SKUs). There are a number of repeating SKU elements, each containing an skuid, skuname, size, colour, and price.

We want to extract this data into a spreadsheet-style...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime