title: select the element which match the start-with name
body: <p>I have a XML like this </p>
  
  <pre><code>&lt;extra&gt;
      &lt;name&gt;format-xml&lt;/name&gt;
      &lt;value&gt;excel.xls&lt;/value&gt;
  &lt;/extra&gt;
  &lt;extra&gt;
      &lt;name&gt;format-java&lt;/name&gt;
      &lt;value&gt;hello.java&lt;/value&gt;
  &lt;/extra&gt;
  &lt;extra&gt;
      &lt;name&gt;Date&lt;/name&gt;
      &lt;value&gt;someday&lt;/value&gt;
  &lt;/extra&gt;
  &lt;extra&gt;
      &lt;name&gt;version&lt;/name&gt;
      &lt;value&gt;2&lt;/value&gt;
  &lt;/extra&gt;
  </code></pre>
  
  <p>I would like to use XSLT to get he foamt-* name</p>
  
  <p>I try the start-with, but it doesn't work</p>
  
  <pre><code>&lt;xsl:for-each select="extra[starts-with(name(),'format-')]"&gt;
      Format name:  &lt;xsl:apply-templates select="name" /&gt;
      Format value:  &lt;xsl:apply-templates select="value" /&gt;           
  &lt;/xsl:for-each&gt;
  </code></pre>