title: get value of element in xml-file using JDOM
body: <p>I have xml-file </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;products xmlns="http://www.myapp.com/shop" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.myapp.com/shop shop.xsd"&gt;
      &lt;category name="yyy"&gt;
          &lt;subcategory name="yyy1"&gt;
              &lt;goods name="yyy11"&gt;                
                  &lt;model&gt;ferrari&lt;/model&gt;              
              &lt;/goods&gt;
          &lt;/subcategory&gt;
      &lt;/category&gt;
  &lt;/products&gt;
  </code></pre>
  
  <p>i try to get value of element <code>&lt;model&gt;</code> as</p>
  
  <pre><code>SAXBuilder builder = new SAXBuilder();
  File xmlProductFile = new File("shop.xml");
  Document document = builder.build(xmlProductFile);
  Element rootNode = document.getRootElement();       
  
  String category = rootNode.getChild("model").getText();
  </code></pre>
  
  <p>But I get empty value</p>