Forum Discussion

walkerline117's avatar
walkerline117
Contributor
8 years ago
Solved

Value of xml string output by xml generator snap cannot be replaced

Hi, I m trying to use replace function in a mapper to replace some of the value in a xml string output by xml generator snap. Something like below: $xml.replace(‘<?xml version="1.0" encoding="U...
  • dmiller's avatar
    8 years ago

    For me,
    $xmlTest.replace('<?xml version="1.0" encoding="UTF-8"?>','')
    is returning
    "replaceTest": ""

    Is this not what you are expecting?