[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: does position () work with old MS namespace

Subject: RE: does position () work with old MS namespace
From: Eileen Kinley <e.kinley@xxxxxxxxxx>
Date: Fri, 1 Sep 2000 08:09:01 -0400
kinley taylor
The following worked for me:
	
<xsl:when test="context()[index() = 0]"> <!-- it is first child -->

Eileen
Eileen Kinley
Calian

> -----Original Message-----
> From:	Eric Taylor [SMTP:Eric.Taylor@xxxxxxxxxxxx]
> Sent:	Thursday, August 31, 2000 9:04 AM
> To:	'XSL-List@xxxxxxxxxxxxxxxx'
> Subject:	does position () work with old MS namespace
> 
> 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


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.