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