Read XML map inputs
You can map a string variable that contains the XML data to the input parameter of the Read XML activity called XMLText.
About this task
XMLText is an input parameter of type string or base64Binary. During run time the string variable must contain well formed XML data before the Read XML activity is run. The Encoding input parameter is optional. (You are not required to map this input parameter). If the Encoding input parameter is not listed in the To Activity pane of the Map Inputs pane, select Map > Show Optional Parameters from the toolbar menu or right-click the To Activity pane and select the Show Optional Parameters option. If the Map > Show Optional Parameters option is not selectable in the toolbar menu, click a node in the Map Inputs pane to make the option active. The Encoding input parameter specifies how the incoming data is decoded when read.
Procedure
- If no decoding is required, specify the string: text.
- If decoding is required, specify the encoding type to be used to decode the incoming data. For example: UTF-8, US-ASCII, ISO-8859-1, EBCDIC-XML-US, or SHIFT_JIS.