the parameter img.src.path to create a prefix in the img/@src attribute is not considered at all. The stylesheet returns always absolute URLs. After some investigation, I found in graphics.xsl the template which matches for @fileref. This is the problematic line:
<xsl:variable name="absuri" select="resolve-uri(.,base-uri(.))"/>
Unfortunately, this leads to a <img> elements which looks like this:
<img src="/home/tux/prj/en/xml/png/foo.png" width="88" alt="Some short description" />
The absolute URL in the src attribute prevents the HTML from moving it from local to a remote source.
Log in to post a comment.