Subject: Re: [xsl] is it possible to resize an image to display smaller than the original From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 02 Apr 2012 23:43:18 +0100 |
It is a good idea when debugging to get the xslt to generate the xsl-fo _as a file_ and look at that in a text editor to check you have generated what you intend rather than allowing it to pass straight to the fo renderer, and perhaps fail with syntax errors. In this case, from
<fo:external-graphic src="'url(photoimg)'" content-height="50pt" content-width="50pt"/>
<fo:external-graphic src="'url(photoimg)'" content-height="50pt" content-width="50pt"/>
with that literal string as the URL so that is looking for a file with single quotes and brackets in its name.
<fo:external-graphic src="url({photoimg})" content-height="50pt" content-width="50pt"/>
or perhaps some/path/to/photoimg depending on where that element is relative to the current node at that point in the xslt.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] is it possible to resize , David Carlisle | Thread | Re: [xsl] is it possible to resize , David Carlisle |
Re: [xsl] is it possible to resize , David Carlisle | Date | Re: [xsl] is it possible to resize , David Carlisle |
Month |