Root Element in 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

Root Element in XML

Post by sarathchandrakt »

Hi,

I am taking an XML as input in an XML stage. Then I parsed it, validated it and composed it. But there is a discrepency in Source and Target.

My input root element looks like this,

<ROOTELEMENT xmlns:soapenc="http://xmlsoap.org/soap/encoding" xmlns:wsdl="http://xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

But my Target root element looks like this,

<ROOTELEMENT>

How to eliminate this discrepency?

Thanks in advance.
Post Reply