Subject: Re: [xsl] The pipe '|' operator: Does it mean Or or Union? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 14 Jan 2004 13:11:31 -0500 |
kakridge@xxxxxxxxxxxxx wrote: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. Does the definition of the operator change based on the application?
Matching "foo | foobar" gives you the union of the set of all foo with the set of all foobar. You can read it as "OR", but it's still a union operator. XPath has a separate "or" operator, but that's not the same thing.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] The pipe '|' operator: Do, Jeff Kenton | Thread | RE: [xsl] The pipe '|' operator: Do, kakridge |
RE: [xsl] Can one stylesheet handle, kakridge | Date | Re: [xsl] Attempting *not* to copy , G. Ken Holman |
Month |