Hi Experts,
I have a scenario where PI is picking up a file from a source directory.The source file structure is as given below:
<ABCPayments xmlns=ABC.ea.com>
<a>z</a>
</ABCPayments>.
I need to add prefix ns0 before ABCPayments start tag,after xmlns,like xmlns:ns0 and ABCPayments end tag.
I have already gone through several links in sdn and found that some are advising to use XML ANONYMIZER BEAN
but when I used that I saw that it was adding ns0 before node <a> also like <ns0:a> but I didn't want that.I want to add ns0
only at the places I stated above.Also some links are suggesting that XSLT mapping needs to be used but no where the exact problem has been solved.
Can you please help me in exactly solving this issue,if I need to use XSLT mapping someone please provide me what will be the exact code for adding ns0
at the root node only?
Regards
Joy