[haXe] Xml get method for nodes

Nicolas Cannasse ncannasse at motion-twin.com
Sun Apr 1 19:20:22 CEST 2007


> Hi Nicolas!
> The haXe Xml class has the get() method to target a specific attribute in a
> node.
> Why don't implement a similar method to get a specific nodeName ? ( I know we
> can iterate into it, as we can do it in attributes, but it could be useful and
> in the same logic don't you think ? )

What about xml.elementsNamed("xxx").next() ?

Nicolas



More information about the Haxe mailing list