How do I get the number of XML child nodes in Haxe Script?



How do I get the number of XML child nodes in Haxe Script?


In AS3, I would write node.children().length().


Suppose in Haxe, I have:



var node = FastXML.parse("<node><hello>Hi</hello><world/></node>");


node in this case has 2 children. How do I obtain this in Haxe?


No comments:

Post a Comment