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

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 UTC