xsl-list
[Top] [All Lists]

RE: Divide in an expression?

2003-05-21 10:01:07
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"

Scott

-----Original Message-----
From: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk]
Sent: Wednesday, May 21, 2003 10:41 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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.

David

________________________________________________________________________
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:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>