> >
> > 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>
If there is a better tack I'd better know now before I carry on this route.
Cheers
Gav...