Subject: Re: position() and last() From: Miloslav Nic <nicmila@xxxxxxxx> Date: Wed, 29 Sep 1999 12:28:38 +0200 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
position() and last(), Emmanuel.Leguy | Thread | patterns and multiple namespaces, Simon St.Laurent |
RE: Globals in xsl:script, Kay Michael | Date | patterns and multiple namespaces, Simon St.Laurent |
Month |