package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var loan:XML =
ActionScript
J, J
Books Ltd
;
for each (var attribute:XML in loan..@*) {
trace(attribute.parent( ).TITLE
+ ": " + attribute.name( ) + "=" + attribute);
}
}
}
}