At 2015-07-19 10:12 -0500, Eliot Kimber wrote:
That seems to easy Ken.
...
On 7/19/15, 10:09 AM, "G. Ken Holman" <[email protected] on behalf
of [email protected]> wrote:
...
>   $a1//b except $a1//a//b

Perhaps, but you were the one that put that expression in words and I just transliterated it:

At 2015-07-19 06:33 -0500, Eliot Kimber wrote:
I want to find all the <b> elements descending from <a id="a1"> but not
within nested <a> elements

I see others have commented on the performance of this. I think the maintenance of what I've written is easier than trying to grok the application of the ancestor axis.

. . . . . . . Ken


--
Check our site for free XML, XSLT, XSL-FO and UBL developer resources |
Free 5-hour lecture:  http://www.CraneSoftwrights.com/links/video.htm |
Crane Softwrights Ltd.             http://www.CraneSoftwrights.com/q/ |
G. Ken Holman                    mailto:[email protected] |
Google+ profile:       http://plus.google.com/+GKenHolman-Crane/about |
Legal business disclaimers:     http://www.CraneSoftwrights.com/legal |


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to