title: Why getChild() method of JDOM returns null?
body: <p>I'm doing a project regarding html document manipulation. I want body content from existing html document to modify it into a new html.Now i'm using JDOM. i want to use body element in my coding.For that i used getChild("body") in my coding.But it returns null to my program.But my html document have a body element.Could anybody help me to know this problem as i'm a student?</p>
  
  <p>would appreciate pointers..</p>
  
  <p>Coding:</p>
  
  <pre><code>import org.jdom.Document;
  import org.jdom.Element;
  public static void getBody() {
  SAXBuilder builder = new SAXBuilder("org.ccil.cowan.tagsoup.Parser", true);
  org.jdom.Document jdomDocument=builder.build("http://www......com");
  Element root = jdomDocument.getRootElement();
        //It returns null
  System.out.println(root.getChild("body"));
  }
  </code></pre>
  
  <p>please refer these too.. My html's root and childs printed in console...</p>
  
  <pre><code>root.getName():html
  
  SIZE:2
  
  [Element: &lt;head [Namespace: http://www.w3.org/1999/xhtml]/&gt;]
  
  [Element: &lt;body [Namespace: http://www.w3.org/1999/xhtml]/&gt;]
  </code></pre>