Ok, seems like I found for what I'm looking for: <xsl:variable name="whatever" select="Collection"/> <xsl:value-of select="count($whatever)"/>
If I'm wrong just tell me! m_dieu wrote: > > Hi, > > is there a possibility to count the number of elements in a collection > before/while using <xsl:for-each select='collection'>? > > Maybe I have to use 2 for-each loops and count the elements in the first > one and do whatever I want in the second. But how can I count in XSLT? > > Thanks in advance! > -- View this message in context: http://www.nabble.com/Number-of-elements-in-Collection-tf4731820.html#a13530208 Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
