RE: XPATH question - not FOP related

2002-01-22 Thread Scott Moore
Try: xsl:for-each select="some_data" xsl:if test="position() 1" This is not the first! /xsl:if Repeating section... /xsl:for-each Scott -Original Message-From: Brian T. Wolf [mailto:[EMAIL PROTECTED]]Sent: Tuesday, January 22, 2002 1:30 PMTo: [EMAIL

Re: XPATH question - not FOP related

2002-01-22 Thread cn
Hello Brian. This will help you: xsl:for-each select=some_data xsl:if test=position()[.'1'] This is not the first! /xsl:if Repeating section... /xsl:for-each OR xsl:for-each select=some_data xsl:if test=position() gt;'1' This is not the first! /xsl:if Repeating section...

Re: XPATH question - not FOP related

2002-01-22 Thread Brian T. Wolf
That did it. Thanks! I knew I could rely on y'all. - Original Message - From: Scott Moore To: '[EMAIL PROTECTED]' Sent: Tuesday, January 22, 2002 10:25 AM Subject: RE: XPATH question - not FOP related Try: xsl:for-each select="some

Re: xpath

2001-11-28 Thread Joerg Pietschmann
Maneshi Tuli [EMAIL PROTECTED] wrote: I want to count all rows for whom child col having attribute num='8' is not null [snip] Questions like this should be asked on the XSL list ([EMAIL PROTECTED]). Try count(row[col[not(@num='8')]]) This actually counts row elements with a col child