Ma esattamente in che modo?

Cioč dovrei fare:

codice:
  NodeList nodeLst = doc.getElementsByTagName("<targets>");
Per prendere l' intero blocco....e poi per quel valore:

codice:
Element fstElmnt = (Element) fstNode;
              fstElmnt.getAttribute("partner");
?