W3C home > Mailing lists > Public > www-xsl-fo@w3.org > May 2005

Re: FO Exception external-graphic

From: Lester Ward <lward@rentec.com>
Date: Tue, 03 May 2005 10:08:29 -0400
Message-ID: <427785DD.3020700@rentec.com>
To: www-xsl-fo@w3.org

Jeff Stanley wrote:
> <fo:external-graphic src=3D3D3D"{concat('C:\picDir',@personID,'.jpg')}"

First, the src attribute really should be a URL. I think the proper syntax for a local 
file would be:


As for testing for the existance of a file, you might try using the document function then 
testing the existing variable. The problem is that document assumes you are loading XML, 
so it might return a null set both in the case of a missing file and a graphic file.

Other than that, all I can think of is to find (or build) an extension.
Received on Tuesday, 3 May 2005 14:08:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:29 UTC