How to load XML file data to CSV file

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Gopalraja
Participant
Posts: 18
Joined: Wed Jun 18, 2008 3:51 am
Location: Chennai

How to load XML file data to CSV file

Post by Gopalraja »

Hi,

I want to know how to load XML file data to CSV file or table.


Thanks in Advance
Aswice
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Read it with an XML Input stage (perhaps fed from a Folder stage).

Beware that one XML file may contain repetition elements, which means that the data are not normalized. If your target requires normalized data then you may require multiple CSV files (Sequential File stage) or tables (database stage type of some kind).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply