Re: [xsl] most efficient way to check for a group of tags?

Subject: Re: [xsl] most efficient way to check for a group of tags?
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 02 Mar 2005 18:03:37 -0500
Sebastian,

At 05:42 PM 3/2/2005, you wrote:
Except that "count(tag1|tag2|...)" doesn't work (from
experience).

How do you mean it "doesn't work"?


Does it throw an error? Does it give incorrect results?

I've used the count() function, the node-set union operator ("|"), and the child axis innumerable times, and they all work ... in a conformant processor.

Please be more specific: the method I described is pretty simple, so I don't think there's a bug. But I've been wrong in the past....

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