title: Xpath query for same level tags..?
body: <p>I have an XML file -</p>
  
  <pre><code>&lt;Books&gt;
    &lt;Book&gt;
      &lt;PubDetails&gt;
         &lt;Pub Name="ABC"/&gt;
         &lt;Year Y="1999"/&gt;
      &lt;/PubDetails&gt;
      &lt;Book Subject="Computers"&gt;XPath 2.0&lt;/Book&gt;
    &lt;/Book&gt;
    &lt;Book&gt;
      &lt;PubDetails&gt;
         &lt;Pub Name="ABC"/&gt;
         &lt;Year Y="1999"/&gt;
      &lt;/PubDetails&gt;
      &lt;Book Subject="Management"&gt;Financial Management&lt;/Book&gt;
    &lt;/Book&gt;
  &lt;/Books&gt;
  </code></pre>
  
  <p>I want to retrieve the <code>Subject</code> when <code>Y</code> is passes as parameter.</p>
  
  <p>For Ex: If I pass 1999, then I should get Computers, Management as output.</p>
  
  <p>What will be the XPath 1.0 query?</p>