- From: David Carlisle <davidc@nag.co.uk>
- Date: Tue, 3 May 2005 10:06:52 +0100
- To: jstanley@infinitecampus.com
- CC: www-xsl-fo@w3.org
fo:external-graphic src attribute takes a URI not an MSDOS file path
The URI also (unfortunately) has to be wrapped in CSS url(" ... ")
syntax.
so you should have
<fo:external-graphic src='url("file:///c/picDir/{@personID}.jpg")"
Or at least I am assuming that's what you want: you did not have a
\ or / betweeen @personID
concat('C:\picDir',@personID,'.
although your error message indicated one, perhaps teh \ is in the
personID attribute?
"[ERROR] Error while creating area : Error with image URL:
C:\picDir\776.jpg (The system cannot find the file specified) and no
base URL is specified".
The fact that you got that error at all indicates that your system isn't
enforcing the url() syntax.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Received on Tuesday, 3 May 2005 09:07:22 UTC