I want to read feed entries, and now I'm just stuck. Take this, for example: https://stackoverflow.com/feeds/question/2084883 lets say that I want to read all the node summary values ββinside each node record in the document. How should I do it? I have changed many variations of the code that is closest to what I want to achieve, I think:
Element entryPoint = document.getRootElement();
Element elem;
for(Iterator iter = entryPoint.elements().iterator(); iter.hasNext();){
elem = (Element)iter.next();
System.out.println(elem.getName());
}
It goes through all the nodes in the XML file and writes their name. Now I wanted to do the following:
if(elem.getName().equals("entry"))
to get only input nodes, how do I get input node elements and how to get let say summary and its value? Tnx
Question : how to get the values ββof the resulting nodes from this link