Need *URGENT* Help on 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
sarathchandrakt
Participant
Posts: 50
Joined: Fri Aug 29, 2014 1:32 pm
Location: Mumbai

Need *URGENT* Help on XML

Post by sarathchandrakt »

Hi,
My XML File is like this,

<Batch>
--<A>
--<B>
--<BatchDetails>
----<C>
----<D>
--<Worksheet>
----<E>
----<F>
----<Items>
------<G>
------<H>

My Job structure is like this,
External Source->XMLStage(to divide data)->3 Transformer(one for Batch,Worksheet,Items each)->XML Stage<To form XML file again)

I am succesful till the division of data, transformation and again forming an XML.

But in the new XML formed, I am getting duplicate <item> values(same number of duplicates as the first field <BatchDetails> where it should be only one. How to avoid this?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

DSXchange is an all-volunteer site whose members post as and when they can. There is no obligation to do so. Further, we don't do "urgent".

If you want "urgent" sign up with your official support provider for premium service, and learn just how expensive "urgent" can be. Especially on weekends.
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