[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Find First Descendants That Match Predicate?

Subject: Re: Find First Descendants That Match Predicate?
From: "Eliot Kimber ekimber@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Dec 2018 17:33:33 -0000
Re:  Find First Descendants That Match Predicate?
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.