Re: How do I implement NodeList?

2009-04-05 Thread scottland.yo...@googlemail.com
Nevermind, got it sorted: Document termsDom = XMLParser.parse(myXmlText); NodeList termsList = termsDom.getElementsByTagName(Result); for (int i = 0; i termsList.getLength(); i++) { Element results = (Element) termsList.item(i); String result =

How do I implement NodeList?

2009-04-04 Thread scottland.yo...@googlemail.com
Hi all! I'm wondering how I can use NodeList with an XML file so output a list of values from tags of the same type: ResultSet result1st value/result result2nd value/result result3rd value/result result4th value/result ResultSet In case case I would like to output all the result tags, I am