[
Lists Home |
Date Index |
Thread Index
]
Here's a stab that might be incorrect:
//b[local-name(preceding-sibling::node()[1]) != 'a']
-bob
On Wed, 17 Jul 2002, Garland foster wrote:
> <foo>
> <b/>
> <a/>
> <b/>
> <a/>
> <b/>
> </foo>
>
> Return all the "b" nodes that are inmediately preceded by an "a" element (the bold nodes).
>
> It's easy but I'm lost :-(
>
> Thanks,
> Garland.
- References:
- Quick Xpath
- From: "Garland foster" <garland_foster@salutia.com>
|