package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var novel:XML = <BOOK/>; novel.@ISBN = "0000000000"; novel.TITLE = "ActionScript"; novel.AUTHOR = "J, J"; novel.PUBLISHER = "Books Ltd"; novel.SETTING.CITY = "Dublin"; novel.SETTING.COUNTRY = "Ireland"; novel.SETTING.@CITY = "Dublin"; novel.SETTING.@COUNTRY = "Ireland"; trace(novel); } }}
Name (required)
email (will not be published) (required)
Website