RE: [xsl] The pipe '|' operator: Does it mean Or or Union?

Subject: RE: [xsl] The pipe '|' operator: Does it mean Or or Union?
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Wed, 14 Jan 2004 12:14:56 -0500
[kakridge@xxxxxxxxxxxxx]

> I've noticed the the Muenchian method uses '|' and that 
> everyone refers to this as a Union.  However, I also read that this
> 
> <xsl:template match="foo | foobar">
> 
> means to match the foo OR foobar elements.  

It means "union", although it is easy to fall into saying "or" as a kind
of shorthand.  Here, it says to match "foo" elements and "foobar"
elements, and to take the union of the two sets.

Cheers,

Tom P



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread