Convert an Integer to a String

You can use convert an integer to a string in the mapper.

  1. Open the mapper.
  2. In the Target section, highlight the integer element node to convert to a string.
  3. In the upper far right corner, click Function link to open the Components panel.
  4. Expand Functions > Conversion.
  5. Select the string function and drag it to the target element node.
    A function icon is added to the mapping canvas for the target element node and the string function XPath expression is added to the Expression Builder at the bottom of the page.
  6. Drag the source integer node (or you can use a literal) inside the parenthesis and click the Checkmark icon to save.
    For example:
    string (12345)
  7. Click Validate.
    You can navigate to Test > Generate Inputs > Execute to see how the XPath function performs at runtime.