title: XOM and getChildElements
body: <p>I use this piece of Java with the XOM library to parse a sitemap.</p>
  
  <pre><code>Element root = doc.getRootElement();
  Elements urls = root.getChildElements("url");
  </code></pre>
  
  <p>When I'm debugging, I can see that <code>root</code> has a whole bunch of children, both <code>url</code> elements and text elements. However, <code>root.getChildElements("url")</code> returns an empty list.</p>
  
  <p>What am I doing wrong?</p>