Working With XML Files

Embed Size (px)

Citation preview

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Home Informatica Data WareHousing Unix-Shell Scripts PL SQL Analytics on Big Data

    Contact Us

    Complete reference to Informatica

    Sharing

    Discussion Forum

    Discussion Forum

    Introduction

    ETL Life Cycle

    What Is Informatica

    Client Components

    Transformation

    Filter

    Expression

    Router

    Sorter

    Rank

    Transaction Control

    Source Qualifier

    Stored Procedure

    Working with XML filesNaveen

    27Apr 2011

    We have three types of the xml transformations and they are listedbelow:

    0

    Share

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Client Components

    Services Behind Scene

    Try U R Hand's onAdmin-Console

    Difference Between 7.1and 8.6

    Informatica 8.6Installation

    Interview Zone

    Informatica Real TimeInterview Questions

    Informatica ExperiencedInterview Questions -part1

    Informatica ExperiencedInterview Questions -part2

    Informatica ExperiencedInterview Questions -part3

    Informatica ExperiencedInterview Questions -part4

    Data Warehousingconcept Based InterviewQuestions

    Testing

    Stored Procedure

    SQL Transformation

    Normalizer

    Sequence Generator

    Aggregator

    Union

    Joiner

    Update Strategy

    Look Up

    Subscribe toLearn Informatica

    Like 307 people like this.

    Enter your emailaddress:

    Subscribe

    Delivered by FeedBurner

    Performance-Tuning

    XML Source Qualifier Transformation: You can add an XML SourceQualifier transformation to a mapping by dragging an XML sourcedefinition to the Mapping Designer workspace or by manually creatingone.

    We can link one XML source definition to one XML Source Qualifiertransformation.

    We cannot link ports from more than one group in an XML SourceQualifier transformation to ports in the same target transformation.

    XML Parser Transformation: The XML Parser transformation lets youextract XML data from messaging systems, such as TIBCO or MQ Series,and from other sources, such as files or databases.

    Used when we need to extract XML data from a TIBCO source andpass the data to relational targets.

    The XML Parser transformation reads XML data from a single inputport and writes data to one or more output ports.

    XML Generator Transformation: The XML Generator transformation letsyou read data from messaging systems, such as TIBCO and MQ Series,or from other sources, such as files or databases.

    Used when we need to extract data from relational sources andpasses XML data to targets.

    The XML Generator transformation accepts data from multiple portsand writes XML through a single output port.

    Stage 1 (Oracle to XML)

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Unit TestingIntegration TestingUATInformatica TestingDebuggerConstraint Based loadingTarget Load Plan

    AdvancedConcepts

    Mapping Parameter's &Variable

    Mapplets

    Partitioning

    Working with links

    Scheduler

    Types of Task's- 1

    Types of Task's- 2

    Indirect Method forLoading

    SCD - Type 1

    SCD - Type 2

    Necessity OfPerformance-tuning

    Identification Of bottleNecks

    Optimization of Bottlenecks

    Performance tuning ofLookup

    Push DownOptimization

    Chat with Me

    Visitor's

    We are gonna generate an xml file as output with the oracle emptable as source.

    Step 1: Generate the XML target file.

    Import the same emp table as source tableGo the targets and click on import the XML definition.Later choose the Non XML source from the left hand pane.Move the emp table (source table) from all sources to the SelectedSources.After which, we got to click on open to have the target table in thetarget designer.Sequential Steps to generate the xml target table is shown inbelow snap shots.

    Fig a: Importing the XML definition

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    SCD - Type 2

    SCD - Type 3

    Incremental Aggregation

    Mapping Templates

    Grid Processing

    Work Flow Variables

    Fig b: stage 1 for generating file just got to click on OK in this window.

    Fig c: Here specify the name for the target table and click next.

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Fig d: finally we got to click on Finish in this window.

    Step 2: Design the mapping, connect the SQ straight away to the targettable.

    Create the name of the mapping as per the naming convention.Save the changes.

    Step 3: Create task and the work flow.

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Double click on the work flow and go to the mapping tab and herewe got to specify the output file directory. (C :/) .Run the work flow ,check in the C drive and look for an file byname emp.xml

    Stage 2 (XML to Oracle)

    Here source is gonna be the xml file and the target file is the oraclefile.

    Step 1: Importing the source xml file and import the targettransformation.

    Go the sources and click on the import XML definition.Browse for the emp.xml file and open the same.The first three windows are gonna be same as in previous case.Target table is gonna be the same EMP table.

    Step 2: Design the mapping.

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Connections for this mapping is gonna be the following way.

    Save the mapping.

    Step 3: Create the task and work flow.

    Create the task and the work flow using the naming conventions.Go to the mappings tab and click on the Source on the left handpane to specify the path for the input file.

    Step 4: Preview the output on the target table.

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    You can follow any responses to this entry through the RSS 2.0 feed. You canleave a response.

    0 Responses

    Leave a Reply

    Reactions: Excellent (13) Good (4) Useful (4)

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Next Entries Previous Entries

    Enter your comment...

    Comment as: Google Account

    Publish Preview

    Links to this post

    Create a Link

    Recent Comments

    2009 - Complete reference to Informatica is proudly brought to you by Naveen