I have an image location name being passed in the xml.
<Photo>/RPT/0000718.jpg</Photo>
The actual image is 8" x 10" and I need to display it on the resulting
.pdf in a size of 3" x 3"
I am using the following to retrieve the file location and display the image:
<xsl:element name="fo:external-graphic">
<xsl:attribute name="src">file:<xsl:value-of
select="/data/Photo"/></xsl:attribute>
</xsl:element>
I guess I have two questions.
1. Is it possible to resize the image from 8x10 to 3x3? I've only
been able to crop it thus far.
2. Is the way I am retrieving/processing the image filename the
best/most efficient way to do so?
I am using <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Thank you.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--