Output XML Action—Setting Properties

Outputs the in-memory representation of the XML session to a file or variable, for example, before ending the XML session. Using this action does not change the XML or end the session, thus allowing subsequent XML steps to continue using the session.

To set Output XML properties

  1. From the Task Builder Available Actions pane, open the XML folder and double-click the Output XML action or drag it into the Steps pane. The following dialog appears:

  1. Select the type of object to output to, either a File or a Variable, from the Output to dropdown. There are two options:

  1. If you select File from the Output to dropdown, you must specify either a new or original file.

  2. If you select New File from the Save XML document to dropdown, you must enter a filename in the Output xml file field. Use the folder icon to browse to the file.

  3. If you select Original File from the Save XML document to dropdown, skip down to step 6.

  4. If you select Variable from the Output to dropdown, enter the variable name in the Populate variable with value field.

  5. If you want to overwrite any existing file that matches the output file, select Overwrite if file exists. If this is not selected, the step will fail if the output file already exists.

  6. Enter the session name in the Session name field.

  7. To set the Description tab properties, refer to Description Tab Options.

  8. To set the Error Causes and On Error tab properties, refer to Step Error Handling.

  9. When finished, click OK to save settings and close the properties dialog window.

See Also

About Actions

Adding Task Steps

Output XML File Action