title: XPath: Get parent node from child node
body: <p>I need get the parent node for child node <code>title 50</code></p>
  
  <p>At the moment I am using only</p>
  
  <pre><code>//*[title="50"]
  </code></pre>
  
  <p>How could I get its parent?
  Result should be the <code>store</code> node.</p>
  
  <hr>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;d:data xmlns:d="defiant-namespace" d:mi="23"&gt;
      &lt;store d:mi="22"&gt;
          &lt;book price="12.99" d:price="Number" d:mi="4"&gt;
              &lt;title d:constr="String" d:mi="1"&gt;Sword of Honour&lt;/title&gt;
              &lt;category d:constr="String" d:mi="2"&gt;fiction&lt;/category&gt;
              &lt;author d:constr="String" d:mi="3"&gt;Evelyn Waugh&lt;/author&gt;
          &lt;/book&gt;
          &lt;book price="8.99" d:price="Number" d:mi="9"&gt;
              &lt;title d:constr="String" d:mi="5"&gt;Moby Dick&lt;/title&gt;
              &lt;category d:constr="String" d:mi="6"&gt;fiction&lt;/category&gt;
              &lt;author d:constr="String" d:mi="7"&gt;Herman Melville&lt;/author&gt;
              &lt;isbn d:constr="String" d:mi="8"&gt;0-553-21311-3&lt;/isbn&gt;
          &lt;/book&gt;
          &lt;book price="8.95" d:price="Number" d:mi="13"&gt;
              &lt;title d:constr="String" d:mi="10"&gt;50&lt;/title&gt;
              &lt;category d:constr="String" d:mi="11"&gt;reference&lt;/category&gt;
              &lt;author d:constr="String" d:mi="12"&gt;Nigel Rees&lt;/author&gt;
          &lt;/book&gt;
          &lt;book price="22.99" d:price="Number" d:mi="18"&gt;
              &lt;title d:constr="String" d:mi="14"&gt;The Lord of the Rings&lt;/title&gt;
              &lt;category d:constr="String" d:mi="15"&gt;fiction&lt;/category&gt;
              &lt;author d:constr="String" d:mi="16"&gt;J. R. R. Tolkien&lt;/author&gt;
              &lt;isbn d:constr="String" d:mi="17"&gt;0-395-19395-8&lt;/isbn&gt;
          &lt;/book&gt;
          &lt;bicycle price="19.95" d:price="Number" d:mi="21"&gt;
              &lt;brand d:constr="String" d:mi="19"&gt;Cannondale&lt;/brand&gt;
              &lt;color d:constr="String" d:mi="20"&gt;red&lt;/color&gt;
          &lt;/bicycle&gt;
      &lt;/store&gt;
  &lt;/d:data&gt;
  </code></pre>