On Mon, 7 Jan 2002, Enke Michael wrote: > Hi committer, > this doesn't work because the last but one is repeated nonterminating: > > <xsl:template name="nextRow"> > //checking out early? > if (_esql_query.getMaxRows() != -1 && _esql_query.getCurrentRow() - >_esql_query.getSkipRows() == _esql_query.getMaxRows() - 1 ) { > } else { //if not, advance normally > _esql_query.setKeepGoing( _esql_query.nextRow() ); > } > </xsl:template> > > please replace with: > > <xsl:template name="nextRow"> > //checking out early? > if (_esql_query.getMaxRows() != -1 && _esql_query.getCurrentRow() - >_esql_query.getSkipRows() == _esql_query.getMaxRows() ) { > _esql_query.setKeepGoing(false); > } else { //if not, advance normally > _esql_query.setKeepGoing( _esql_query.nextRow() ); > } > </xsl:template>
added this to my ToDo list for today. Thanks! -- Torsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]