06-09-2021 05:49 PM
Hi,
I am getting unwanted tags in my output xml.
such as
How do I avoid it.
My pipeline looks like below:-
Solved! Go to Solution.
06-10-2021 12:19 AM
@Sahil I think you already make root element, so delete the extra mapper as I suggest. It should work.(only removing the DocumentRoot from xml formatter)
06-09-2021 11:24 PM
@Sahil add another mapper after mapper1, then use $ = your_root_ele_name like screenshot and remove DocumentRoot from xml formatter. Should work.
06-10-2021 12:06 AM
Hi @Supratim ,
Thanks for reply!
I tried like below but getting two root node.
Output:-
06-10-2021 12:19 AM
@Sahil I think you already make root element, so delete the extra mapper as I suggest. It should work.(only removing the DocumentRoot from xml formatter)