xsl-list
[Top] [All Lists]

RE: Parameter problem

2003-10-02 06:23:43
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



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