- From: Max Froumentin <mf@w3.org>
- Date: Fri, 27 Sep 2002 17:01:24 +0200
- To: "Guo, Gordon" <gguo@cdocs.com>
- Cc: <www-xsl-fo@w3.org>, "Rao, Sneha" <Sneha@cdocs.com>
"Guo, Gordon" <gguo@cdocs.com> writes: > <xsl:element name="fo:external-graphic"> > <xsl:attribute name="src"> > <xsl:value-of select="imgurl"/>/zenith.gif > </xsl:attribute> The src attribute is defined as containing a <uri-specification> which has the format 'url(' followed by a URI reference in single or double quotes, followed by ')'. So your code should be <xsl:element name="fo:external-graphic"> <xsl:attribute name="src">url('<xsl:value-of select="imgurl"/>/zenith.gif')</xsl:attribute> By the way, you can collapse your code to a single line: <fo:external-graphic src="url('{imgurl}/zenith.gif')" content-width="250px" content-height="80px" width="250px" height="80px"/> > It works fine on win2k and NT. However, it doest not work on Unix. What implementation are you using? > The process does not give any message, just ignore the ="fo:external-graphic" and generate the PDF without the logo image. What does the FO file look like? Max.
Received on Friday, 27 September 2002 11:01:50 UTC