Hi All,
In my mapping am getting an xml output like this,
<?xml version="1.0" encoding="UTF-8" ?>
<RootElement1 xmlns:ns1="http://oracle.com/strangePrefixIssue" xmlns="http://oracle.com/strangePrefixIssue">
<ns1:ChildElement1>
<ns1:GrandChild1>Name1</ns1:GrandChild1>
<ns1:GrandChild2>Name2</ns1:GrandChild2>
</ns1:ChildElement1>
</RootElement1>
But the application which processes this xml requires the prefix to be added to the root element. The expectation is like this
<?xml version="1.0" encoding="UTF-8" ?>
<ns1:RootElement1 xmlns:ns1="http://oracle.com/strangePrefixIssue" xmlns="http://oracle.com/strangePrefixIssue">
<ns1:ChildElement1>
<ns1:GrandChild1>Name1</ns1:GrandChild1>
<ns1:GrandChild2>Name2</ns1:GrandChild2>
</ns1:ChildElement1>
</ns1:RootElement1>
I have already referred to the below link, but no luck,
https://community.oracle.com/message/12816717
I'm using this xslt in SOA 11.1.1.7 and have Bpel 2.0.
Kindly help me fix this issue. Thanks in advance.
Regards,
Balaji Radhakrishnan