Re: FO Exception external-graphic

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:

    src="url(concat('file:C:///picDir/',@personID,'.jpg')"

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