Is match="title | title" an error?

XSLT Section 5.5 states that "If the pattern contains multiple alternatives
separated by "|", then it is treated equivalently to a set of template
rules, one for each alternative".

Does this mean that <xsl:template match="title | title"> is an error, on the
basis that more than one template rule matches the same node?

Mike Kay

Received on Friday, 3 November 2000 07:38:35 UTC