[haXe] Xml get method for nodes

filt3r at free.fr filt3r at free.fr
Sun Apr 1 19:45:41 CEST 2007


Selon Nicolas Cannasse <ncannasse at motion-twin.com>:

> > 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
>
> --
> haXe - an open source web programming language
> http://haxe.org
>


^^ Ok, sorry...
I'll say it was an "April's fool" :p



More information about the Haxe mailing list