Hi Wendell,
But if I say
string-join((for $i in (1 to ceiling($arg div $extent)) return 'e'),'')
I get an error (Saxon 8.4) telling me I need an xs:integer as the second
argument of the range expression "1 to ceiling($arg div $extent)", but I
have an xs:decimal.
How do I make ceiling($arg div $extent) into an integer?
Use:
xs:integer(ceiling($arg div $extent))
Cheers,
Dimitre
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--