In short, I am trying to get the pixel width of an image. I have located the java class ImageInfo. Its API is
http://www.geocities.com/marcoschmid...ImageInfo.html. I am losing all my hair (and the entire weekend) trying to use its getWidth() method from my XSLT. I am using Xalan-J with the namespace xmlns:java="http://xml.apache.org/xalan/java". I am getting errors like
file:javatest.xsl; Line #13; Column #88; XSLT Error (javax.xml.transform.TransformerException): java.lang
.NoSuchMethodException: For extension function, could not find method static ImageInfo.setInput([ExpressionContext,] #STRING).
no matter what I try. I would be so thankful for some help.