title: Is it possible to use attributes when accessing XML nodes using dot-notation?
body: <p>PowerShell has dot syntax for accessing some XML nodes:</p>
  
  <pre><code>root.object1.object2
  </code></pre>
  
  <p>Is it possible to do something like this?</p>
  
  <pre><code>root.object1.object2[@id="pdt1"]
  </code></pre>
  
  <p>except this syntax doesn't work.</p>
  
  <p>Does this kind of syntax exist or is it mandatory to use <code>SelectNodes()</code> method?</p>