P. 1
24_Lab_XML_TRANSFORMATION.doc

24_Lab_XML_TRANSFORMATION.doc

|Views: 55|Likes:
Published by Karthik
XML
XML

More info:

Published by: Karthik on Aug 13, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

10/25/2014

pdf

text

original

Lab 24

XML Transformation

PowerCenter 7 Level I Developer – Lab Guide

6-1

the student will be able to:  Use the XML Transformation. the student will create a mapping (and associated workflow) to extract data from a Oracle source table and load it to the XML file. 6-2 PowerCenter 7 Level I Developer – Lab Guide . Objectives After completing the lab. Summary In this lab. The final mapping should look as follows: Duration This lab should take approximately 40 minutes.Lab 24. XML Transformation Lab at a Glance The exercises in this lab are designed to walk the student through the process of importing and analyzing a XML file as Target.

The XML Parser transformation reads XML data from a single input port and writes data to one or more output ports. such as TIBCO or MQ Series. The XML is extracted from the source systems such as files or databases. XML Generator Transformation Overview: It’s an also active transformation. It reads data from source such as files and databases and generates XML in the PowerCenter 9 Level I Developer – Lab Guide 6-3 . Just like the normal Source Qualifier Transformation We can use the XML Source Qualifier Transformation by dragging an XML source definition to the Mapping Designer workspace or by manually creating one. such as files or databases. as well as connected. Types of XML Transformations  XML Source Qualifier Transformation  XML Parser Transformation  XML Generator Transformation Overview XML Source Qualifier Transformation: It is an active transformation. We use an XML Parser transformation to extract XML inside a pipeline and then pass this to the target. This Source qualifier defines the data elements that the Integration Service reads when it executes a session. If you remove an XML source definition from a mapping. as well as Connected. The source definition needs to be connected to the target via XML Source Qualifier Transformation. We use XML Generator Transformation Overview to create XML inside a pipeline. XML Source Qualifier has one input or output port for every column in the source. The XML Parser transformation functionality is similar to the XML source functionality. XML Parser Transformation It’s an also active transformation. except it parses the XML in the pipeline.LAB: XML TRANSFORMATION Exercises XML Transformation in Informatica The XML Parser transformation lets you extract XML data from messaging systems. as well as connected transformation. the Designer also removes the corresponding XML Source Qualifier transformation. and from other sources.

(If target same as a source then select Non-XML Source). XML Transformation pipeline. Exercise 1: Import Source and Target  Select Sources | Import from Database. we use source as an oracle and target as a XML.Lab 24.  Select the ODBC data source that corresponds to the location of the source tables from the pull-down list.  The Import Tables dialog box appears. Create workflow and assign task and specify connection and then save it. Preview data and check execution log. The XML Generator transformation accepts data from multiple ports and writes XML through a single output port Steps to performing XML Transformation: • • • • • • In this example. Drag and drop both source and target table in mapping designer window and then create mapping and save it.  Enter the database username and password: username: sdbu owner: SDBU password: sdbu 6-4 PowerCenter 7 Level I Developer – Lab Guide . Create target table in target designer. Import source table.

LAB: XML TRANSFORMATION  PowerCenter 9 Level I Developer – Lab Guide 6-5 .

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->