title: Given this XML, is there an xpath that will give me the 'test' and 'name' values?
body: <p>I need to get the value of the 'test' attribute in the xsl:when tag, and the 'name' attribute in the xsl:call-template tag.   This xpath gets me pretty close:  </p>
  
  <pre><code>..../xsl:template/xsl:choose/xsl:when
  </code></pre>
  
  <p>But that just returns the 'when' elements, not the exact attribute values I need.</p>
  
  <p>Here is a snippet of my XML:</p>
  
  <pre><code>&lt;xsl:template match="field"&gt;
      &lt;xsl:choose&gt;
      &lt;xsl:when test="@name='First Name'"&gt;
          &lt;xsl:call-template name="handleColumn_1" /&gt; 
      &lt;/xsl:when&gt;
  &lt;/xsl:choose&gt;
  </code></pre>