Gav.... wrote:
So how do we do it?

How about stripping ay leading dotdots before we process image

references?

Ok, so where is the best place to do this, in the document-to-fo.xsl file
Or somewhere else?

In document-to-fo.xsl we can use substring-before to detect for .. and
remove
It but can't see how to do it if there is more than one nested level.
If there was ../../ for instance.

I'll keep looking, I feel this issue needs doing before the release and so
Will keep concentrating on this issue for now.


The area of thinking I have at the moment is something like :-

<xsl:when test="starts-with(string(@src),'../')">
          <xsl:value-of select="substring-after(string(@src),'../')"/>
        </xsl:when>


That's where I was thinking, yes. I think you may find there is a template for stripping dot dots in the existing dotdots stylesheet, not sure though.

Ross