cancel
Showing results for 
Search instead for 
Did you mean: 

Converting from String type XML to XML

GBekkanti
New Contributor III

Hi Team,

I have a requirement to convert a string type xml to xml type. is there any way to do it?

for example
Input string : “<?xml version=“1.0”?> <ItemMasterSupplementRetailPro> <Affiliate>1190</Affiliate>”

Output should be of type xml.

Thanks and Regards,
Gopi Bekkanti.

1 REPLY 1

rohithmadhavan
Employee
Employee

The XML Formatter Snap formats incoming documents into the XML data format and sets the correct media type. You might need to use an XML Parser Snap before the formatter if the data is binary.