On 19/12/16 21:01, Roger L. Cauvin roger(_at_)cauvin(_dot_)org wrote:
Isn't CSS designed (and better suited) to deal with this sort of challenge?
Roger
-----Original Message-----
From: Mark Wilson
[...]
I would like to add the placement-index to the XML data source
programmatically. Is there a way to obtain the height or width of a jpeg
image from the file itself (image.jpg, for instance) using XSLT? Or, can
someone suggest another way to do this programmatically?
I would probably write a small script that uses the identify command
from ImageMagick, and then snips out the x and y size and creates an XML
file that my XSLT can read as a lookup.
///Peter
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--