title: Apply XSL template in external XML file
body: <p>The webpages I am working on display a main page area whose content comes from an external xml file which contains the required HTML.</p>
  
  <p>e.g. </p>
  
  <pre><code>&lt;xhtml:content&gt;
      &lt;div id="marketingContent"&gt;
        &lt;div id="topLeft"&gt;
          &lt;div id="intro"&gt; .....
  </code></pre>
  
  <p>We have an XSL template that consumes this xml and displays it in the full page.</p>
  
  <p>This is currently static content, however there is a requirement to display a number of links within this content dynamically based upon what page you are.</p>
  
  <p>We have this info in another xml file but would like to inject a xsl template to display these links within the external xml file.</p>
  
  <p>e.g.</p>
  
  <pre><code> &lt;xhtml:content&gt;
          &lt;div id="marketingContent"&gt;
            &lt;div id="topLeft"&gt;
              &lt;div id="intro"&gt;
                  &lt;!-- Dynamic link area --&gt;
                  &lt;div id="links"&gt;
                    list of links based on the area of the site you are in
                  &lt;/div&gt; ....
  </code></pre>
  
  <p>Is this possible to do, and what is the best method - fairly new to xsl</p>
  
  <p>Thanks in advance</p>