W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 1998

problem with xsl:if in the 18-August-1998 XSL Working Draft

From: Olivier Corby <corby@sophia.inria.fr>
Date: Fri, 04 Sep 1998 14:36:34 +0200
Message-ID: <35EFDED2.11135CE@sophia.inria.fr>
To: xsl-editors@w3.org, corby@sophia.inria.fr
Dear editors,

May be I am wrong, but It seems to me that the example given for the
xsl:if statement does not match XSL syntax. I find no rule that enables
a qualifier after an anchor as in ".[not-last-of-type()]" in the
following section:
(http://www.w3.org/TR/WD-xsl#AEN1090)

2.7.10.1 Conditional Processing with xsl:if

...

<xsl:template match="namelist/name">
  <xsl:process-children/>
  <xsl:if test=".[not-last-of-type()]">, </xsl:if>
</xsl:template>


Then my question is, how can this test be written in XSL ?

Sorry if I miss the point.
Best regards.

Olivier Corby

INRIA Sophia Antipolis
ACACIA project
Received on Friday, 4 September 1998 08:36:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:49 GMT