title: How to parse references in XSLT
body: <p>I have a code like this</p>
  
  <pre><code>&lt;Library&gt;
      &lt;Books&gt;
          &lt;Book&gt;
              &lt;ISBN&gt;123&lt;/ISBN&gt;
              &lt;Name&gt;Book 1&lt;/Name&gt;
              &lt;Author-Ref&gt;/Library/Authors/Author[2]&lt;/Author-Ref&gt;
          &lt;/Book&gt;
          &lt;Book&gt;
              &lt;ISBN&gt;425&lt;/ISBN&gt;
              &lt;Name&gt;Book 2&lt;/Name&gt;
              &lt;Author-Ref&gt;/Library/Authors/Author[1]&lt;/Author-Ref&gt;
          &lt;/Book&gt;     
      &lt;/Books&gt;
      &lt;Authors&gt;
          &lt;Author&gt;
              &lt;Name&gt;John smith&lt;/Name&gt;
              &lt;Nationality&gt;American&lt;/Nationality&gt;
              &lt;BirthDate&gt;08051977&lt;/BirthDate&gt;
          &lt;/Author&gt;
          &lt;Author&gt;
              &lt;Name&gt;Sandra Johns&lt;/Name&gt;
              &lt;Nationality&gt;American&lt;/Nationality&gt;
              &lt;BirthDate&gt;03091981&lt;/BirthDate&gt;
          &lt;/Author&gt;       
      &lt;/Authors&gt;
  &lt;/Library&gt;
  </code></pre>
  
  <p>And i want to write xslt code, to print Book Name, Auther Name.</p>
  
  <p>How do i parse the reference to the Auther name using the XSLT?</p>
  
  <pre><code>&lt;xsl:for-each select="/Library/Books/Book"&gt;
      Book Name: &lt;xsl:value-of select="./Name"/&gt;
      Auther Name: ?????
  &lt;/xsl:for-each&gt;
  </code></pre>