Make xml imported in loader class global

I tried to search for this but the search wasn’t working. I have a loder class where i load in some xml. This is the function that’s called after the xml is loaded:

public function loadedXML(e:Event):void {
        var xml:XML =new XML(;

The xml traces out fine. My question is how do I define var xml so that I can access it from outside of the class in another class or from the timeline?