title: zend navigation single level menu using xml file
body: <p>With zend framework how do i create a single level menu? </p>
  
  <p>I followed a tutorial and the person created a two level dropdown menu. I want to just remove home. I've modified the navigation.xml file a couple times and it caused a fatal error. </p>
  
  <p>What xml markup do i need to promote the children of home as the parent level menus? As in i don't need a home button at all.</p>
  
  <p><strong>Desired outcome:</strong></p>
  
  <blockquote>
    <ul>
    <li>who</li>
    <li>why</li>
    <li>what</li>
    <li>speaker</li>
    <li>resources</li>
    </ul>
  </blockquote>
  
  <p><strong>Current outcome:</strong></p>
  
  <blockquote>
    <ul>
    <li><p>home</p>
    
    <p>&bull; who</p>
    
    <p>&bull; what</p>
    
    <p>&bull; when  </p>
    
    <p>&bull; why</p></li>
    </ul>
  </blockquote>
  
  <p><strong>Current navigation.xml file:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;configdata&gt;
    &lt;nav&gt;
      &lt;home&gt;
        &lt;label&gt;Home&lt;/label&gt;
        &lt;controller&gt;page&lt;/controller&gt;
        &lt;action&gt;index&lt;/action&gt;
        &lt;module&gt;default&lt;/module&gt;
        &lt;pages&gt;
          &lt;why&gt;
            &lt;label&gt;why&lt;/label&gt;
            &lt;controller&gt;page&lt;/controller&gt;
            &lt;action&gt;why&lt;/action&gt;
            &lt;module&gt;default&lt;/module&gt;
          &lt;/why&gt;
          &lt;who&gt;
            &lt;label&gt;who&lt;/label&gt;
            &lt;controller&gt;page&lt;/controller&gt;
            &lt;action&gt;who&lt;/action&gt;
          &lt;/who&gt;
          &lt;resources&gt;
            &lt;label&gt;resources&lt;/label&gt;
            &lt;controller&gt;page&lt;/controller&gt;
            &lt;action&gt;resources&lt;/action&gt;
          &lt;/resources&gt;
          &lt;signin&gt;
            &lt;label&gt;sign in&lt;/label&gt;
            &lt;controller&gt;account&lt;/controller&gt;
            &lt;action&gt;login&lt;/action&gt;
            &lt;module&gt;default&lt;/module&gt;
          &lt;/signin&gt;
        &lt;/pages&gt;
      &lt;/home&gt;
    &lt;/nav&gt;
  </code></pre>
  
  <p>...</p>
  
  <p><strong>application/Bootstrap.php:</strong></p>
  
  <pre><code>&lt;?php function _initViewHelpers() {
     $this-&gt;bootstrap('layout);
     // ... Skipping to relevant part
      $navContainerConfig = new Zend_Config_Xml(APPLICATION_PATH . '/configs/navigation.xml', 'nav');
      $navContainer = new Zend_Navigation($navContainerConfig);
      $view-&gt;navigation($navContainer);
  } ?&gt;
  </code></pre>
  
  <p><strong>layouts/default.phtml</strong></p>
  
  <pre><code>&lt;div class="navigation"&gt;&lt;?php print $this-&gt;navigation(); ?&gt;&lt;/div&gt;
  </code></pre>