You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Get child text from an xml element in a mapping

edited Nov 14, 2019 11:25PM in Integration 9 comments

Content

Implementing the suggestion in this topic - Include mapped output as the value of another output..., I need to get the text content of an XML node returned from a REST Adapter invoke so I can encode it to Base64.  I tried just passing the node to the encodeBase64 function, but it encoded the text representation of the node itself (i.e. element name, attributes, etc...) rather than the text content of the node.  It seems that the way to do this is with a for-each and then get-content-as-string, but I am unable to add a for-each  as the input to the encode function.  I thought to assign the value to a variable, but I can't

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!