Subject: Re: Fwd: xslt:image resizing
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 12 Mar 2009 10:20:25 GMT
|
also what calculation do you intend?
you have several lines line this
<xsl:value-of select="($width div @width) * @width" />
<xsl:value-of select="($height div @height) * @height" />
which, apart from rounding error, are just dividing by a value and
multiplying by the same value, getting back to where you started?
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
|