|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Vertical display
It works fine: A small modification <xsl:variable name="first"> <xsl:value-of select="count(*)"/> </xsl:variable> <xsl:variable name="second"> <xsl:value-of select="count(*/*)"/> </xsl:variable> <xsl:variable name="rowcounts"> <xsl:value-of select="$second div $first"/> </xsl:variable> I have to replace the count(*/*) with $rowcounts. Thanks Marcus, sundar -----Original Message----- From: Marcus Andersson [mailto:marcan@xxxxxxx] Sent: Monday, April 28, 2003 6:52 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: Vertical display Does it solve your problem if you replace the "com" template with the following (it solves the problem you pointed out anyway...)? It assumes that the number of number-elements is the same in each group of elements. /Marcus <xsl:template match="com"> <table> <xsl:call-template name="verticalTable"> <xsl:with-param name="rowIndex" select="1"/> <xsl:with-param name="endIndex" select="count(*/*)"/> </xsl:call-template> </table> </xsl:template> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








