Hi All,
I want to include a GIF into a PDF, which is there in Websever location (/nova/global/images).
Following bits of code is implemented on both webpshere 5.0.1 and 6.0.0.1, images are displaying in webpshere 5.0.1 and but not in webpshere 6.0.0.1.
<fo:block text-align="right" font-weight="bold" padding="10pt">
<fo:external-graphic src="url('{$domain}/nova/global/images/nissan-logo.gif')" />
</fo:block>
and
<fo:external-graphic>
<xsl:attribute name="src">url('<xsl:value-of select="$domain"/><xsl:value-of select="/page/generic/NSC-MODEL-XTND/NSC-MODEL-XTND-EBROCHURE-IMAGE" />')</xsl:attribute>
</fo:external-graphic>
In the above code, value of domain is comming from XML (value is
http://prepodweb1.xxxxx.co.uk) and value for /page/generic/NSC-MODEL-XTND/NSC-MODEL-XTND-EBROCHURE-IMAGE is /Media-Library/vehicles/e-brochure/br-micramc2005.jpg
Is there any issue with Webpshere 6.0.0.1.
It would be extremely helpful for any suggestions.
Thanks & Regards,
Deva
Quote:
quote:Originally posted by Birger
Hi!
I have this line in my xsl which functions:
<fo:block><fo:external-graphic src='pict\thing.bmp'/></fo:block>
However, I'm to make this work inside a for-each element. The source element have the name of the picture as an attribute like this:
<para picture="pict\thing.bmp">
So what I want is immediatly after selecting the para element value, I want to select a picture based on the attribute using 'value-of select="@picture"'.
But I just can't make it work.
Can anyone help me with the syntax for using the 'value-of' in the 'fo:external-graphic' line?
Or any other solution!
(I'm using FOP to generate pdf)
Thanks in advance.
|