|
Loading...
|
xsl-list@lists.mulberrytech.com
[Prev] Thread [Next] | [Prev] Date [Next]
Re: [xsl] is it possible to resize an image to display smaller than the original David Carlisle Mon Apr 02 16:00:26 2012
On 02/04/2012 22:54, David Ryan wrote:
if I hardcode the file location in the url - it will work but I need to pass that in the xml as this routine gets called for many different xml's.
are you sure thea) url in the file is correct (to be interpreded as a relative url when executed from the fo file)
b) your xpath is selecting the correct element?In particular the examples you have posted in this thread have been very inconsistent
in various messages you have:
select="data/photoimg"/>
<photo>/RPT/0000718.jpg</photo>
<fo:external-graphic src="'url({photo})'"/>
<Photo>/RPT/0000718.jpg</Photo>
select="/data/Photo"/>
ie selecting <photo> or <Photo> and selecting a data child of the
current element or the top level element, which must be called data, of
the input file.
since I think I've only seen fragments rather than a runnable example hard to know, but make sure, that the generated fo file has
url(/some.path.to/a/picture.jpg)and that the path is either absolute or if relative, correct relative the fo file when that is interpreted by the xsl-fo renderer.
David -- google plus: https:/profiles.google.com/d.p.carlisle --~------------------------------------------------------------------ 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:[EMAIL PROTECTED]> --~--
- Re: [xsl] is it possible to resize an image to display smaller than the original davep 2012/04/01
- RE: [xsl] is it possible to resize an image to display smaller than the original David Dunkenberger 2012/04/02
- Re: [xsl] is it possible to resize an image to display smaller than the original David Ryan 2012/04/02
- Re: [xsl] is it possible to resize an image to display smaller than the original David Ryan 2012/04/02
- Re: [xsl] is it possible to resize an image to display smaller than the original David Carlisle 2012/04/02 <=
- Re: [xsl] is it possible to resize an image to display smaller than the original David Carlisle 2012/04/02
- Re: [xsl] is it possible to resize an image to display smaller than the original David Carlisle 2012/04/02
- Re: [xsl] is it possible to resize an image to display smaller than the original David Ryan 2012/04/02
- Re: [xsl] is it possible to resize an image to display smaller than the original David Ryan 2012/04/02