Subject: Re: [xsl] Output fixed length records using mod operators to group results From: Chris <ryder.roundabout@xxxxxxxxx> Date: Thu, 10 May 2007 23:11:13 -0400 |
I was able to understand why everything works the way it works except the for-each within the last container condition. Can you elaborate on that? It does exactly what I need it to do, but I'd sure like to know why!
The section I'm referring to is: <xsl:if test="position()=last()"> <xsl:for-each select="(//*)[position()<= ((4000 -last() )mod 4)]"> <xsl:value-of select="$field"/> </xsl:for-each> </xsl:if>
I'm not familiar with the (//*) expression, nor can I grasp the math behind the predicate in that xpath (literature major as an undergrad).
Thanks, Chris
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Output fixed length recor, David Carlisle | Thread | Re: [xsl] Output fixed length recor, David Carlisle |
Re: [xsl] "re-calling" a template f, bryan rasmussen | Date | Re: [xsl] eliminating duplicates, George Cristian Bina |
Month |