RE: [xsl] Divide in an expression?

Subject: RE: [xsl] Divide in an expression?
From: "Scott Purcell" <spurcell@xxxxxxxxxxxxx>
Date: Wed, 21 May 2003 12:01:07 -0500
The attribute is actually just the number, but wrapped in quotes, so I am thinking it may be a string.

Name: "width" Type: CDATA Value: "2162"


-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Wednesday, May 21, 2003 10:41 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Divide in an expression?

> [ERROR]    Could not complete this operation because
> '(reference(adobe-content:myImageInfo#/imageInfo/psd/@width) div 300)'
> is not a valid integer. 

You haven't told us what the width attribute in your source is.
If it is something like 20pt then it isn't a number to Xpath.


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread