[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

does position () work with old MS namespace


Subject: does position () work with old MS namespace
From: Eric Taylor <Eric.Taylor@xxxxxxxxxxxx>
Date: Thu, 31 Aug 2000 08:03:35 -0500

when I added a construction like the following to my XSL, I got an
unspecified error from IE5... is position() one of those things that isn't
supported by the old MS namespace?  Upgrading to MSXML3 isn't an option
right now--is there any other way to treat the first item differently from
the rest?  Thanks.  Eric
    <xsl:choose>
      <xsl:when test="position() = 1">
        <!-- processing for first item -->
      </xsl:when>
      <xsl:otherwise>
        <!-- processing for subsequent -->
      </xsl:otherwise>
    </xsl:choose>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xsl