title: Java Parse Xml Vimeo - extract thumbnail url
body: <p>I have the following xml file from vimeo: <a href="http://vimeo.com/api/v2/video/21331554.xml" rel="nofollow">http://vimeo.com/api/v2/video/21331554.xml</a></p>
  
  <p>I'm trying to extract the thumbnail-medium with the following code:</p>
  
  <pre><code>File fXmlFile = new File("http://vimeo.com/api/v2/video/" + linkId + ".xml");
  DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
  DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
  Document doc = dBuilder.parse(fXmlFile);
  doc.getDocumentElement().normalize();
  return ((Node) doc.getElementsByTagName("thumbnail_medium")).getNodeValue();
  </code></pre>
  
  <p>But i get "undefined" as a return</p>