package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var product:XML = 1; trace(product.@QUANTITY == product.COST); // Displays: true } }}