[xep-support] Scaling of images

Daragh Pender Daragh.Pender at fastsearch.com
Tue Oct 16 19:19:05 PDT 2007


 
Hi - I am trying to implement the image scaling customization as
described at  http://www.renderx.com/usecasestest.html
 
I have cut and pasted the code below into my  ...
\Customization\fo\xsl\custom.xsl file 

	<xsl:template match="image">
	 <fo:block line-height="1pt">
	 <fo:external-graphic content-width="scale-to-fit"
content-height="100%" width="100%" scaling="uniform">
	 <xsl:attribute name="src">url(<xsl:value-of select="@src"/>)
	</xsl:attribute>
	</fo:external-graphic>
	</fo:block>
	</xsl:template>

 
However, when I build it fails to find any of the graphics.....in the fo
file I get this for the source of the graphic: src="url()&#xA;"
 
 
 
What am I missing here ? - how do I tell it to keep the original src
value  for each graphic  and just change the other attributes ?
 
 
 
/Daragh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20071016/d7ea174a/attachment.html>


More information about the Xep-support mailing list