XML Parsing

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

kittu.raja
Premium Member
Premium Member
Posts: 175
Joined: Tue Oct 14, 2008 1:48 pm

Post by kittu.raja »

eostic wrote:poor choice of words above....get each xml section into its own "row". Lots of techniques for doing that.

Ernie
Hey can you help me out in sppliting the file?

Thanks,
Rajesh Kumar
John Smith
Charter Member
Charter Member
Posts: 193
Joined: Tue Sep 05, 2006 8:01 pm
Location: Australia

Post by John Smith »

hi,

best to do the pre-processing outside of DS.write a unix script to do that. investigate using grep,sed and other unix functions. not hard to do...
once your file has been split up into proper XML chunks then your job can read it and parse your XML.

JS
Post Reply