Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

json to xml conversion with root element

Hi I am new to apigee and I am doing JSON to XML conversion using json-xml policy but after conversion policy add two extra tags into data like follows

<?xml version="1.0" encoding="UTF-8"?>
<Root>
converted data
</Root>

but I don't want these two additional tags <?xml version="1.0" encoding="UTF-8"?> and <Root>

so how can I remove these two tags without adding any extra policy to it

Any help would be appreciated.

0 1 1,194
1 REPLY 1
Top Solution Authors