Good Day all
i have created a Global Variable as depicted in the following Pichttp://www.tiyaneproperties.co.za/SSIS/pic1.JPG
The Following Screen-shot shows how i created my Variable and its Properties http://www.tiyaneproperties.co.za/SSIS/pic2.JPG
and the Following Screen-shot shows the Script Editor Properties
and the Last pic is the code that write to the XML File http://www.tiyaneproperties.co.za/SSIS/pic4.JPG
The Variable comes back empty and at the end the file comes back empty. So i added a if statement as you can see to make sure that the part that write to the file has no problems.