Subject: Re: [xsl] Recursive attribute values From: "Kenny Bogoe (BogoeMD)" <kenny@xxxxxxxxx> Date: Fri, 16 Jul 2004 17:40:36 +0200 |
Hi David and Michael, Thanks - it looks like I am getting closer to what I need. Yes, you are right, $y is 0. In fact I run the recursive template within another recursive template to generate N <tr> tags on the fly as well. I forgot to mention that....(sorry!). Will that change a lot to the floor-function? <tr> <td w="1" h="1" l="0" t="0"/> <td w="1" h="1" l="0" t="0"/> <td w="1" h="1" l="0" t="0"/> </tr> <tr> <td w="1" h="1" l="0" t="1"/> <td w="1" h="1" l="0" t="1"/> <td w="1" h="1" l="0" t="1"/> </tr> <tr> <td w="1" h="1" l="0" t="2"/> <td w="1" h="1" l="0" t="2"/> <td w="1" h="1" l="0" t="2"/> </tr> Best regards, Kenny > > you are presumably initialing $y to 0 somewher that you don't show us, > it seems that you want @t to be > <xsl:value-of select="floor($y div $top)"/> > > 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 > ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Recursive attribute value, David Carlisle | Thread | RE: [xsl] Recursive attribute value, Michael Kay |
RE: [xsl] Recursive attribute value, Michael Kay | Date | [xsl] Walking a complex object grap, walter . crockett |
Month |