Subject: Re: Stuck with select distinct
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 11 Nov 2008 10:36:48 -0500
|
Mark,
At 03:52 PM 11/10/2008, I wrote:
In order to exclude Red and Blue, use a predicate:
//colour[not(.='Red' or 'Blue')]
Oops: this should of course be
//colour[not(.='Red' or .='Blue')]
and adjust the rest accordingly.
Sadly, ".='Red' or 'Blue'" will always be true, so
//colour[not(.='Red' or 'Blue')] will always be empty. This could be
a difficult bug to trace.
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
======================================================================
|