title: xpath is not working as expected in xslt
body: <p>I have following xml</p>
  
  <pre><code>&lt;myRequest&gt;
      &lt;id&gt;123456789&lt;/id&gt;
  &lt;/myRequest&gt;
  </code></pre>
  
  <p>I have the following xslt not working to get the same as output</p>
  
  <pre><code>&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"&gt;
  
      &lt;xsl:output method="xml" indent="yes" encoding="ISO-8859-1" version="1.0"
          omit-xml-declaration="yes"/&gt;
      &lt;xsl:strip-space elements="*"/&gt;
  
      &lt;xsl:template match="myRequest"&gt;
          &lt;myRequest&gt;
              &lt;xsl:apply-templates select="id"/&gt;
          &lt;/myRequest&gt;
      &lt;/xsl:template&gt;
  
      &lt;xsl:template match="id"&gt;
          &lt;customerId&gt;
              &lt;xsl:value-of select="id"/&gt;
          &lt;/customerId&gt;
      &lt;/xsl:template&gt;
  
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>working xslt</p>
  
  <pre><code> &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"&gt;
  
      &lt;xsl:output method="xml" indent="yes" encoding="ISO-8859-1" version="1.0"
          omit-xml-declaration="yes"/&gt;
      &lt;xsl:strip-space elements="*"/&gt;
  
      &lt;xsl:template match="myRequest"&gt;
          &lt;myRequest&gt;
              &lt;xsl:apply-templates select="//id"/&gt;
          &lt;/myRequest&gt;
      &lt;/xsl:template&gt;
  
      &lt;xsl:template match="id"&gt;
          &lt;customerId&gt;
              &lt;xsl:value-of select="//id"/&gt;
          &lt;/customerId&gt;
      &lt;/xsl:template&gt;
  
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>I put current() in the XWatch,it is also not showing any thing when debug pointer is in </p>
  
  <pre><code>&lt;xsl:template match="myRequest"&gt;
              &lt;myRequest&gt;
  ..........................
  </code></pre>
  
  <p>Why  i need to use <strong>//</strong> here ?Because <strong>id</strong> element is directly under  <strong>myRequest</strong>.I really got confused using <strong>//</strong> here?</p>
  
  <p>Without using <strong>//</strong> also we need to get the output.</p>
  
  <p>What the mistake i am doing here ?</p>
  
  <p>Thanks in advance...</p>