xsl-list
[Top] [All Lists]

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

2004-01-14 10:14:56
[kakridge(_at_)bellsouth(_dot_)net]

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