Page 1 of 1

Root Element in XML

Posted: Mon Dec 22, 2014 5:08 am
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.

Posted: Mon Dec 22, 2014 1:57 pm
by major
Hi,
The above description in your xml is a namespace , which has to be declared under namespace declaration tab under xml input stage

I don't think that will appear under your Target.
By the way what is your target ? another xml ?

Thanks
major