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.
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:
Select the type of object to output to, either a File or a Variable, from the Output to dropdown. There are two options:
If you select File from the Output to dropdown, you must specify either a new or original file.
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.
If you select Original File from the Save XML document to dropdown, skip down to step 6.
If you select Variable from the Output to dropdown, enter the variable name in the Populate variable with value field.
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.
Enter the session name in the Session name field.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
Output XML File Action