Prev | Current Page 396 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


attributes() :
Iterator
Returns an Iterator that contains the names of the attributes associated
to the current node. It only works if the current node is of type Element.
elements() :
Iterator
Returns an Iterator that contains all the nodes of type Element
contained in the current node. It only works if the current node is of type
Element or Document and returns only the immediate child nodes.
elementsNamed(name:
String) :
Iterator
Returns an Iterator that contains all the nodes of type Element
contained in the current node that have the name equal to the passed
argument. It only works if the current node is of type Element or
Document and returns only the immediate child nodes.
exists(att:String) :
Bool
Returns true if the current node has an attribute with the name as the
passed argument. It only works if the current node is of type Element.
firstChild() : Xml Returns the first child node of the current one. It only works when the
current node is of type Element or Document.


Pages:
384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408