Converting from String type XML to XML

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.

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.