W3C home > Mailing lists > Public > spec-prod@w3.org > January to March 2001

Re: Something I don't understand in xmlspec.xsl

From: David Carlisle <davidc@nag.co.uk>
Date: Tue, 13 Feb 2001 14:04:25 GMT
Message-Id: <200102131404.OAA05027@penguin.nag.co.uk>
To: Daniel.Veillard@imag.fr
CC: spec-prod@w3.org

>  the select section returns only
> the vc, excluding the wfc and com from being processed. Those are IMHO
> excluded due to the first [1] filter.

true, but the later siblings are picked up by the template for the

<xsl:template match="prod">
  <!-- select elements that start a row -->
  <xsl:apply-templates select="
    *[self::lhs or
      ( (self::vc or self::wfc or self::com) and
        not(preceding-sibling::*[1][self::rhs]) or
        (self::rhs and not(preceding-sibling::*[1][self::lhs]))


This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
Received on Tuesday, 13 February 2001 09:05:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:42:16 UTC