title: How to include a CSS file in an XSL file
body: <p>I wish to add styling to an XSL document through CSS. However, my previous attempts at this have had no success.</p>
  
  <p>Here's the relevant section from the XSL file:</p>
  
  <pre><code>&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
                  version="1.0"&gt;
  &lt;xsl:include href="http://bootswatch.com/sandstone/bootstrap.min.css"/&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;News | Endeavour Explorers&lt;/title&gt;
          &lt;link rel="shortcut icon" 
                href="../resources/img/logo200.png"/&gt;
          &lt;style type="text/css"&gt;
              body {padding: 63px 0 63px 0;} 
              a[name] {
                 padding-top: 40px; 
                 margin-top: -40px; 
                 display: inline-block; 
                 /* required for webkit browsers */}
              @media print{body {margin-top: -63px;}}
          &lt;/style&gt;
      &lt;/head&gt;
  </code></pre>
  
  <p>And here's the link to <a href="http://eastwightendeavour.org.uk/news.xsl" rel="nofollow">the whole XSL file</a>.</p>
  
  <p>Here's <a href="http://eastwightendeavour.org.uk/news.xml" rel="nofollow">the .xml file</a>.</p>