Return XML after it's loaded

I searched the forum but didn’t quite find what I was looking for.
I am trying to write a method that loads any xml file and returns it to the caller.
What I want: (It’s not working, I know it’s merely a concept)

private function makeCall ( xmlPath: String ) : XML
{
    var xml : XML = new XML ();
    xml.ignoreWhite = true;
    xml.onLoad = function ( success : Boolean)
    {
        if ( success ) return this; // As in return XML to the caller
    }
    xml.load (  xmlPath );
}

Any ideas?
Regards.