xsl-list
[Top] [All Lists]

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

2018-12-27 11:16:38
On 27/12/2018 15:15, Eliot Kimber ekimber(_at_)contrext(_dot_)com wrote:
That seems too easy (
[...]
On 12/25/18, 12:42 PM, "Wendell Piez wapiez(_at_)wendellpiez(_dot_)com" 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>