title: To create xpath for html table to access desired record using 3 inputs
body: <p>This is a structure of very basic html table. I want to create xpath for following scenario.
  I will insert 2 field names like 'Name' and 'Salary' along with value of 'Name' field (say for example 'STU') then output should be 25k. </p>
  
  <p>I was given hint like 
  string (xpath which will have 2 field names and one value) output of this function will be that key.</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
      &lt;h3&gt;MY TABLE&lt;/h3&gt;
      &lt;table&gt;
          &lt;tbody&gt;
              &lt;tr&gt;
                  &lt;th&gt;id&lt;/th&gt;
                  &lt;th&gt;Name&lt;/th&gt;
                  &lt;th&gt;date&lt;/th&gt;
                  &lt;th&gt;Address&lt;/th&gt;
                  &lt;th&gt;salary&lt;/th&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;XYZ&lt;/td&gt;
                  &lt;td&gt;STU&lt;/td&gt;
                  &lt;td&gt;12/20/2015&lt;/td&gt;
                  &lt;td&gt;Mumbai&lt;/td&gt;
                  &lt;td&gt;25k&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;&lt;td&gt;PQR&lt;/td&gt;
                  &lt;td&gt;ABC&lt;/td&gt;
                  &lt;td&gt;01/05/2015&lt;/td&gt;
                  &lt;td&gt;Chennai&lt;/td&gt;
                  &lt;td&gt;25k&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;ABC&lt;/td&gt;
                  &lt;td&gt;PQR&lt;/td&gt;
                  &lt;td&gt;03/09/2015&lt;/td&gt;
                  &lt;td&gt;Bangalore&lt;/td&gt;
                  &lt;td&gt;20k&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;emp4&lt;/td&gt;
                  &lt;td&gt;XYZ&lt;/td&gt;
                  &lt;td&gt;08/12/2015&lt;/td&gt;
                  &lt;td&gt;Delhi&lt;/td&gt;
                  &lt;td&gt;30k&lt;/td&gt;
              &lt;/tr&gt;
          &lt;/tbody&gt;
      &lt;/table&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>