How to count the number of child nodes in xml root tag in flex?

Can I see an example of how to count the number of child nodes in the xml root tag in flex?

+3
source share
1 answer

xml.children().length()where xml is the XML object. But he will only consider children of the depth of the first level. Should all children be counted ?

+8
source

Source: https://habr.com/ru/post/1793937/


All Articles