title: How to get fist elemenent using local-name() in XPATH?
body: <pre><code>&lt;xyy:UP xmlns:xyy="urn:com" xmlns:xyx="urn:com" xmlns:xzx="urn:com"&gt;
  &lt;xyx:ITM&gt;
  &lt;xzx:PID&gt;ABCDEFGH&lt;/xzx:PID&gt;
  &lt;/xyx:ITM&gt;
  &lt;xyx:ITM&gt;
  &lt;xzx:PID&gt;IJKLMNOP&lt;/xzx:PID&gt;
  &lt;/xyx:ITM&gt;
  &lt;/xyy:UP&gt;
  </code></pre>
  
  <p>I tried follow xpath to get second 'PID' tag , which is having text node IJKLMNOP , but it wont return any.</p>
  
  <pre><code>//*[local-name()='PID'][1]
  </code></pre>
  
  <p>But it will list all the PID if I use follow </p>
  
  <pre><code>//*[local-name()='PID']
  </code></pre>
  
  <p>can any body drag me out of this plz</p>