title: XSLT: How to find value of the node by another node
body: <p>I am not sure I am asking the question correctly, that's why I cannot find an answer anywhere. But basically I need to match a node with another node and use a sibling node as a value instead. Here is an example</p>
  
  <pre><code>&lt;group&gt;
      &lt;section&gt;
        &lt;reference&gt;123&lt;/reference&gt;
        &lt;name&gt;ABC&lt;/name&gt;
      &lt;/section&gt;
      &lt;section&gt;
        &lt;reference&gt;456&lt;/reference&gt;
        &lt;name&gt;DEF&lt;/name&gt;
     &lt;/section&gt;
  &lt;/group&gt;
  &lt;element&gt;
     &lt;reference&gt;123&lt;/reference&gt;
     &lt;price&gt;20.00&lt;/price&gt;
  &lt;/element&gt;
  </code></pre>
  
  <p>And in my XSL template I want to display Price and Name, so I need to match Reference from the Element to Reference in Section and display Name. </p>
  
  <blockquote>
    <p>ABC - 20.00</p>
  </blockquote>
  
  <p>How can I do this?</p>