title: Using apply-template instead of call-template
body: <p>Is it possible to replace the call-template statement in the following <a href="http://xsltransform.net/3NSSEuL/10" rel="nofollow">stylesheet</a> with a apply-statement? So that the structure of the templates are nearly the same. With structure I mean that I have a xpath to select a element form the source xml e.g. <code>/shiporder/address/city</code> and I have a target xpath for my output xml e.g. <code>/root/Address/Country</code> then I step reverse through the source path. All <code>/shiporder/address/city</code> goes under <code>Country</code> all <code>/shiporder/address</code> goes under <code>Address</code> and the root <code>shiporder</code> become the tag <code>root</code>.</p>
  
  <p>Source XML:</p>
  
  <pre><code>&lt;shiporder&gt;
    &lt;shipto&gt;orderperson1&lt;/shipto&gt;
    &lt;shipfrom&gt;orderperson2&lt;/shipfrom&gt;
    &lt;address&gt;
    &lt;city&gt;London&lt;/city&gt;
    &lt;/address&gt;
    &lt;address&gt;
    &lt;city&gt;Berlin&lt;/city&gt;
    &lt;/address&gt;
  &lt;/shiporder&gt;
  </code></pre>
  
  <p>Stylesheet:</p>
  
  <pre><code>&lt;xsl:template match="/"&gt;
          &lt;xsl:apply-templates select="shiporder"/&gt;
    &lt;/xsl:template&gt;
  
   &lt;xsl:template match="/shiporder"&gt;
      &lt;root&gt;
          &lt;xsl:apply-templates select="address/city"/&gt;
          &lt;xsl:call-template name="Identity" /&gt;
      &lt;/root&gt;
   &lt;/xsl:template&gt;
  
  
  &lt;xsl:template name="Identity"&gt;
      &lt;Identity&gt;
          &lt;xsl:call-template name="Name" /&gt;
      &lt;/Identity&gt;
  &lt;/xsl:template&gt;
  
  &lt;xsl:template name="Name"&gt;
      &lt;Name&gt;
          &lt;xsl:apply-templates select="/shiporder/shipto"/&gt;
      &lt;/Name&gt;
  &lt;/xsl:template&gt;
  
  &lt;xsl:template match="/shiporder/shipto"&gt;
      &lt;Last&gt;
          &lt;xsl:apply-templates select="text()"/&gt;
      &lt;/Last&gt;
  &lt;/xsl:template&gt;
  
  
   &lt;xsl:template match="/shiporder/address/city"&gt;
      &lt;Country&gt;
          &lt;xsl:apply-templates select="text()"/&gt;
      &lt;/Country&gt;
   &lt;/xsl:template&gt;
  </code></pre>