开发者

flash AS3 e4x - getting hold of child nodes

I am aware that you can use syntax such as:

xml..Group

And this is supposed to return an XMLList of Groups anywhere in the xml. This works fine if I have more than one , but fails if there is only one .

Am I wrong in my assumption that it should return one? I trace xml..Group.length() and it is 0, but the Group is defina开发者_Python百科tely in the xml.

Any ideas on how you can get one or more Group nodes from my xml?


I think we will need a bit of code and/or of your XML to undersyand what is going on :)


It was a mistake in my xml, there is no problems using this method on one or more items.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜