How mant elements has an element?

Developer
2009-12-05
2013-05-20
  • Paul Gessos
    Paul Gessos
    2009-12-05

    How can I retrieve how many children has an element?

    There is no something like
    element.getNumberOfChildren(id = ALL);
    id can be ALL, TEXT, ATTRIBUTE, ELEMENT

     
  • Paul Gessos
    Paul Gessos
    2009-12-05

    something like DOM's
    childNodes.length
    maybe?