Issue while reading XML

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

Post Reply
kpavan2004
Participant
Posts: 9
Joined: Sun Oct 19, 2008 7:09 am

Issue while reading XML

Post by kpavan2004 »

Hi, I am using XML input stage in a parallel job to read xml. The xml data contains tags like <Name /> instead of <Name> </Name>. Pleas let us know if it is possible to read it in DataStage using XML input stage?

Regards,
kpavan2004
Pavan
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Those two are equivalent. Both mean "empty" element. It's fine. The xmlInput Stage can bring this in at runtime as blanks or as nulls --- your choice (there is an option within the Stage).

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply