title: Adding relative path for an external graphic in a XSL document?
body: <p>first of, I don't know much about XSL.</p>
  
  <p>I am using a app called DITA to generate pdfs. One of the things it requires is an overwrite of an xsl file; to add custom styling.</p>
  
  <p>I am trying to add an external graphic using a relative path. It doesn't work, unless I supply the full path.</p>
  
  <p>Does not work:</p>
  
  <pre><code>&lt;fo:block text-align="center" width="100%"&gt;
    &lt;fo:external-graphic src="../../images/logo.png"/&gt;
  &lt;/fo:block&gt;
  </code></pre>
  
  <p>Does work:</p>
  
  <pre><code>&lt;fo:block text-align="center" width="100%"&gt;
    &lt;fo:external-graphic src="/absolute/path/to/images/logo.png"/&gt;
  &lt;/fo:block&gt;
  </code></pre>
  
  <p>I looked on the web, it said to use "file:image.png" and other website said to use "url(image.png)", but neither worked.</p>
  
  <p>What am I doing wrong?</p>