![]() |
| Previous Top Next |
Start application workflow |
This section shows how the Global Resource is activated in XMLSpy and how the resulting MapForce transformation is routed back to it.
| 1. | Start XMLSpy and shut down MapForce, if open, to get a better view of how the two applications interact. |
| 2. | Select the menu option File | Open Global Resource in XMLSpy. |
| 3. | Select MultiOutput2Spy and click OK. |

A message box stating that MapForce is transforming appears, with the result of the transformation appearing in the Text view window.

Note:
| • | The currently selected configuration is "Default". |
| • | The name of the resource alias is in the application title bar altova://file_resource/MultiOutput2Spy. |
| • | The output file has been opened as "Untitled1.xml" for further processing. |
| • | The ExpReport-Target.xml file has been copied to the C:\Temp folder. |
To retrieve the non-travel expenses output:
| 1. | Click the Global Resources combo box and select "Output2". |
A Changed file notification message box opens.
| 2. | Click Reload to retrieve the second output file defined by the resource. |

The result of the transformation appears in the Text view window and overwrites the previous Untitled1.xml file.
Note:
| • | The currently selected configuration is "Output2" |
| • | The output file has been opened as "Untitled1.xml" for further processing. |
| • | The SecondXML.xml file has been copied to the C:\Temp folder. |
|