Re: [xsl] Find First Descendants That Match Predicate?

Subject: Re: [xsl] Find First Descendants That Match Predicate?
From: "Eliot Kimber ekimber@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Dec 2018 17:33:33 -0000
It's the reverse logic: exclude those that have an ancestor titled thing that
is itself a descendant of the current node.
Cheers,
E.
--
Eliot Kimber
http://contrext.com


o;?On 12/27/18, 11:16 AM, "Peter Flynn peter@xxxxxxxxxxx"
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

    On 27/12/2018 15:15, Eliot Kimber ekimber@xxxxxxxxxxxx wrote:
    > That seems too easy (
    [...]
    > o;?On 12/25/18, 12:42 PM, "Wendell Piez wapiez@xxxxxxxxxxxxxxx"
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
    >      How about
    >
    >      .//*[title] except .//*[title]//*[title]

    Shouldn't that be .//*[title] except .//*[title]/*[title]
    to exclude those with immediate children with a title, rather than
    excluding those which have any-depth descendants with a title?

    P

Current Thread