package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var x1:XML = ; var x2:XML = ; trace(x1 == x2); // Displays: true } }}