Subject:position()=last() Author:Ivan Pedruzzi Date:09 Aug 2004 09:44 PM
Because the xsl:choose instruction is embedded inside an outer xsl:when (xsl:when test="n:Type='D' and n:Text != 'Total' ")
In other words, in the last loop interaction (position()=last()) the last element <n:FeeLine> has n:Type = GT so it gets never evaluated.