package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var novel:XML = <BOOK> <AUTHOR>J, J</AUTHOR> <AUTHOR>S, S</AUTHOR> </BOOK>; novel.AUTHOR[0].setName("WRITER"); trace(novel); } }}
Name (required)
email (will not be published) (required)
Website