title: Get value from xml report using xsl
body: <p>I have an xml which looks like below :</p>
  
  <pre><code>&lt;properties&gt;
  &lt;property&gt;
     &lt;id&gt;foo.toto&lt;/id&gt;
     &lt;value&gt;value1&lt;/value&gt;
  &lt;/property&gt;
  &lt;property&gt;
      &lt;id&gt;foo.toto2&lt;/id&gt;
      &lt;value&gt;value2&lt;/value&gt;
   &lt;/property&gt;
   &lt;property&gt;
       &lt;id&gt;foo1.toto3&lt;/id&gt;
       &lt;value&gt;value3&lt;/value&gt;
   &lt;/property&gt;
   &lt;property&gt;
        &lt;id&gt;foo2.toto4&lt;/id&gt;
        &lt;value&gt;value4&lt;/value&gt;
   &lt;/property&gt;
   &lt;/properties&gt;
  </code></pre>
  
  <p>I need to extract the value of property when id is equal to foo.toto2.</p>
  
  <p>I tried various things like below :</p>
  
  <pre><code>&lt;xsl:for-each select = "properties/property[@id='decisionservice.deployer.name']"&gt; 
       &lt;xsl:value-of select = "value"/&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>Expected output is : value2.</p>
  
  <p>Thank you</p>