File InputOutput
Performs input/output to and from text files. Stores and retrieves text in a task dictionary.
Enabled
- This subtask is always enabled.
Execute
-
If an input dictionary key is provided, looks in the task dictionary for XML message.
-
If input XML path is provided, gets the XML message.
-
If neither input parameter has a value, prompts the user for an XML file and retrieves the XML message from the path provided by the user.
-
Opens XML and processes according to verb provided.
-
If output dictionary key is provided, writes the XML for the selected node to the task dictionary.
-
If output XML path is provided, writes to a local XML file.
-
If neither output parameter has a value, prompts the user for a path to where the XML file should be written and writes out the XML.
Parameters
-
Input Dictionary Key: Dictionary key from which the message is received.
- Input XML Path: Local path to XML where message may be retrieved.
- Output Dictionary Key: Dictionary key to which the message is stored.
- Output XML Path: Local path to XML where message is to be stored.