Subject: Re: [xsl] Hello - how do I use the count function properly? From: Michael Kay <mike@xxxxxxxxxxxx> Date: Fri, 17 Sep 2010 22:12:26 +0100 |
And on every 4th subcategory I just want to set the margin- right: 0px.
Here is the XSL and my attempt.
Please guide me.
<xsl:template match="category"> <xsl:for-each select="child::category"> <xsl:choose> <xsl:when test="count(/child::category)=4 or count(/child::category)=8">
<xsl:for-each select="child::category"> <xsl:choose> <xsl:when test="position() mod 4 = 0" ...
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Hello - how do I use the , David Frey | Thread | RE: [xsl] Hello - how do I use the , Dan Acuff |
Re: [xsl] Hello - how do I use the , David Frey | Date | [xsl] commenting Parent element onl, pankaj . c |
Month |