Re: [xsl] Using Relative filepaths for XSL-FO images with-in XSL

Subject: Re: [xsl] Using Relative filepaths for XSL-FO images with-in XSL
From: Peter Gerstbach <peter.gerstbach@xxxxxxx>
Date: Fri, 24 Jun 2005 10:16:14 +0200
Arian Hojat wrote:
> Hello all,
> I was messing with a template rule so when a document
> points to another relatively, it applies templates to
> make my XSL-FO document to it like so...
>
> <xsl:apply-templates select="document(@href, .)"/>
>
> But I need to pull an image into my Xsl-fo referred to
> from that called xml file.

I think URLs are resolved relative to the system identifier.
You could use an URIResolver that resolve your files by hand.

Peter

Current Thread