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

Re: position() and last()

Subject: Re: position() and last()
From: Miloslav Nic <nicmila@xxxxxxxx>
Date: Wed, 29 Sep 1999 12:28:38 +0200
zvon position
http://zvon.vscht.cz/HTMLonly/XSLTutorial/Books/Book1/index.html
conforms to the latest draft.

"Emmanuel.Leguy" wrote:
> 
> Hello,
> 
> I am using cocoon 1.2. I can't use 'position()' or 'last()' in <xsl:if>
> test. I tried this example of the xslt specification:
> 
> <xsl:template match="namelist/name">
>   <xsl:apply-templates/>
>   <xsl:if test="not(position()=last()))">, </xsl:if>
> </xsl:template>
> 
> and a comma is written after the last name.
> 
> Does cocoon recognize 'position' and 'last()'?
> Must I install cocoon 1.4?
> 
> I can't find tutorials about xsl. Everything I found was obsolete and
> the xslt specification is sometimes hard to understand (specially for a
> french). Do you know a good and recent tutorial?
> I am looking for some web sites which use cocoon and some code examples
> too.
> 
> Thank you,
> 
> Emmanuel Leguy
> --
> Laboratoire d'Informatique Fondamentale de Lille (LIFL)
> Universite des Sciences et Technologies de Lille
> Batiment M3 Cite Scientifique
> 59655 Villeneuve d'Ascq Cedex
> FRANCE
> tel: 03 20 33 63 38
> fax: 03 20 43 65 66
> mailto:Emmanuel.Leguy@xxxxxxx
> http://www.lifl.fr
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
***************************************************************
Dr. Miloslav Nic                        e-mail: nicmila@xxxxxxxx
Department of Organic Chemistry         TEL: +420 2 2435 5012  
ICT Prague (VSCHT Praha)                     +420 2 2435 4118
    				        FAX: +420 2 2435 4288  
****************************************************************
Support free information exchange: http://zvon.vscht.cz
****************************************************************


 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.