Working with NodeList

Discussions

XML & Web services: Working with NodeList

  1. Working with NodeList (1 messages)

    Any idea how to break a NodeList to a two or more smaller NodeList(s).
  2. Refer DOM API documentation[ Go to top ]

    Refer the documentation on DOM parser.

    NodeList nl = someNodeWithSubNodes.getElementsByTagName("YourTag");

    for (int i = 0;
         (nl != null) && (i < nlAnswers.getLength());
         i++) {

         Element elmt = (Element)nl.item(i);
    }