Subject: RE: [xsl] Parameter problem From: "Marsha Salo" <Marsha@xxxxxxxxxxxxx> Date: Thu, 2 Oct 2003 15:23:43 +0200 |
Hi Americo, >That's because your firstN is a text node with white spaces before the >number, some xsl processors pass those as string instead of number >A tweak would be to use <xsl:with-param name="firstN" >select="number($firstN)"/> to force it to be a number > <xsl:with-param name="firstN" > select="number($firstN)"/> thank you for the quick response. I have made the changes but i'm still getting the same problem. 'first' does not have a value and 'difference' is NaN. Any idea why? Kind regards. marsha XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Parameter problem, Michael Kay | Thread | RE: [xsl] Parameter problem, Marsha Salo |
Re: [xsl] Putting characters in an , David Carlisle | Date | Re: [xsl] Putting characters in an , Jeni Tennison |
Month |