[Home] [By Thread] [By Date] [Recent Entries]
Hey Dimitre,
At 04:16 AM 5/16/2005, you wrote: Better: Oh, nice! I hadn't seen idiv ... excellent. I'll use that, or a variant. For my own edification, however... At 07:44 PM 5/15/2005, you wrote: > How do I make ceiling($arg div $extent) into an integer? Cool. But when I have <xsl:value-of select="string-join((for $i in (1 to xs:integer(ceiling($length div $line-length))) return 'e'),'')"/> I get Error at xsl:value-of on line 129 of file:/C:/Data/ACH/ACH2005/XSL/box-measurer. xsl: XPST0003: XPath syntax error at char 74 on line 129 in {...gth div $line-lengt h))) ret...}: Cannot find a matching 1-argument function named {http://w3.org/2001/XMLSche ma}integer() Failed to compile stylesheet. 1 error detected. As you can see from the above, I have the 'xs' namespace declared as xmlns:xs="http://w3.org/2001/XMLSchema" This must be something basic. Still running Saxon 8.4 (the free version). (And evidently, one thing that I'll have to learn is when casting happens by itself, and when not.) Cheers, Wendell
|

Cart



