cancel
Showing results for 
Search instead for 
Did you mean: 

My response always shows &lt; for all the values inside XML instead of < after the xml formattersnap

Manigandan
New Contributor II

I am passing the below input to XML formatter from mapper snap as string to XML formatter snap.

Before XML formatter snap:

"openEngine":
"<items>\n<item \n</item>\n</items>"
 
After XML Formatter snap:
<?xml version='1.0' encoding='UTF-8'?><openEngine>&lt;items>
&lt;item
&lt;/item>
&lt;/items></openEngine>
 
Expected Output:
<?xml version='1.0' encoding='UTF-8'?><openEngine><items>
<item
<item>
<items></openEngine>
 
Please can you advise on this. Thanks in advance!
1 ACCEPTED SOLUTION

Manigandan
New Contributor II

I checked in Canonical XML checkbox in XML formatter snap and it worked!!!

View solution in original post

1 REPLY 1

Manigandan
New Contributor II

I checked in Canonical XML checkbox in XML formatter snap and it worked!!!