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" Scott -----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. 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Divide in an expression?, Wendell Piez | Thread | RE: [xsl] Divide in an expression?, David Carlisle |
[xsl] fo:inline superscript, Holk, David A | Date | [xsl] How to split a relative link , Wolfgang Schreurs |
Month |