Understanding AS3 and XML
2009-10-26 00:00:00 来源:WEB开发网Now the XML has been completely parsed, I can see if a node has children and list them properly
NAME: Title
VALUE: Fly
-----------------
NAME: Description
VALUE: Simple Microban-style levels.
-----------------
NAME: Email
VALUE: bsimpson_910@hotmail.com
-----------------
NAME: LevelCollection
This node has children:
NAME: Level
This node has children:
NAME: L
VALUE: ####
-----------------
NAME: L
VALUE: # #
-----------------
NAME: L
VALUE: ## ####
-----------------
NAME: L
VALUE: ###.$.$. #
-----------------
NAME: L
VALUE: # $.$.$ ##
-----------------
NAME: L
VALUE: # .$@$. #
-----------------
NAME: L
VALUE: ## $.$.{$selection}nbsp; #
-----------------
NAME: L
VALUE: # .$.$.###
-----------------
NAME: L
VALUE: #### ##
-----------------
NAME: L
VALUE: # #
-----------------
NAME: L
VALUE: ####
-----------------
NAME: Level
This node has children:
NAME: L
VALUE: ####
-----------------
NAME: L
VALUE: # #
-----------------
NAME: L
VALUE: ### ####
-----------------
NAME: L
VALUE: ### .$.$. #
-----------------
NAME: L
VALUE: # $.$.$ ###
-----------------
NAME: L
VALUE: # .$#$. #
-----------------
NAME: L
VALUE: ### $.$.{$selection}nbsp; #
-----------------
NAME: L
VALUE: # .$.$. ###
-----------------
NAME: L
VALUE: #### ###
-----------------
NAME: L
VALUE: # @#
-----------------
NAME: L
VALUE: ####
-----------------
NAME: Level
This node has children:
NAME: L
VALUE: ####
-----------------
NAME: L
VALUE: ## ##
-----------------
NAME: L
VALUE: # ###
-----------------
NAME: L
VALUE: #####$.$.$ ###
-----------------
NAME: L
VALUE: # $.#.#.{$selection}nbsp; ##
-----------------
NAME: L
VALUE: # $.@.{$selection}nbsp; #
-----------------
NAME: L
VALUE: ## $.#.#.{$selection}nbsp; #
-----------------
NAME: L
VALUE: ### $.$.$#####
-----------------
NAME: L
VALUE: ### #
-----------------
NAME: L
VALUE: ## ##
-----------------
NAME: L
VALUE: ####
-----------------
Tags:Understanding AS and
编辑录入:爽爽 [复制链接] [打 印]更多精彩
赞助商链接