-
Working with NodeList (1 messages)
- Posted by: Muhammad Mansoor
- Posted on: February 16 2005 00:44 EST
Any idea how to break a NodeList to a two or more smaller NodeList(s).Threaded Messages (1)
- Refer DOM API documentation by Hasan Pasha on February 16 2005 09:40 EST
-
Refer DOM API documentation[ Go to top ]
- Posted by: Hasan Pasha
- Posted on: February 16 2005 09:40 EST
- in response to Muhammad Mansoor
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);
}