Subject: Re: Catch ALL | Failed template rule
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 22 Mar 2005 16:11:22 -0500
|
At 04:02 PM 3/22/2005, you wrote:
What you are trying to express would probably be
*[not(self::bar[parent::foo][@a='b']
which would match any element not itself a bar with a foo parent and an
@a='b'.
The sharp-eyed will have noticed this was supposed to be
*[not(self::bar[parent::foo][@a='b'])]
which is short for
child::*[not(self::bar[parent::foo][attribute::a='b'])]
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
======================================================================
|