|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] position() and last()
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








