title: How to specify relative path for image in xsl
body: <p>I am using following xsl to display icons</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0"&gt;
      &lt;xsl:output method="html"/&gt;
  &lt;xsl:template match="/"&gt;
      &lt;img src="file:///c:/view.png" alt=""/&gt;
  &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>With absolute path, this works, when we specify absolute path along with "file:///", but when we use relative path like "file:///./icon/view.png", it is not working (no image is getting displayed in html). Required Icons are located in subfolder "icons" of xml located folder. For. ex. xml folder location is "C:\1\2\3\4\result.xml" and icons are located at "C:\1\2\3\4\icons". How to specify relative path to access images under icons folder. Tried "file:///../icons/view.png" but no success.
  Any suggestions ?</p>