title: Getting all child names using xmlstarlet/xpath
body: <p>Using xmlstarlet/xpath, how do I get the name of all child elements of a certain node? For example, I want to get all the child element names of <code>/a</code></p>
  
  <pre><code>&lt;a&gt;
      &lt;b&gt;&lt;c/&gt;&lt;/b&gt;
      &lt;d/&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>Should return:</p>
  
  <pre><code>b
  d
  </code></pre>
  
  <p>I tried</p>
  
  <pre><code>xmlstarlet sel -t -c 'name(/a/*)' -
  </code></pre>
  
  <p>but this only gives me <code>b</code></p>