title: xpath parent attribute of selection
body: <p>Syntax of the xml document: </p>
  
  <pre><code>&lt;x name="GET-THIS"&gt;
    &lt;y&gt;
      &lt;z&gt;Z&lt;/z&gt; 
      &lt;z&gt;Z__2&lt;/z&gt;
      &lt;z&gt;Z__3&lt;/z&gt;   
    &lt;/y&gt;
  &lt;/x&gt;
  </code></pre>
  
  <p>I'm able to get all z elements using: </p>
  
  <pre><code>xpath("//z")
  </code></pre>
  
  <p>But after that I got stuck, I'm not sure what to do next. I don't really understand the syntax of the <code>..</code> parent method</p>
  
  <p>So, how do I get the attribute of the parent of the parent of the element? </p>