Re: searching for closest previous element

Subject: Re: searching for closest previous element
From: stephenng@xxxxxxxxxxxx
Date: Thu, 26 Mar 1998 14:22:04 +0000
Paul writes:

>I think what you want is
>(node-list-last (select-element (tree-before (current-node)) "FOO"))
>Only Jade doesn't seem to support either node-list-last or
>tree-before.

I think a fast implementation of node-list-last would solve my 
problem.

For now, I've convinced the client that the node I'm searching for 
has to be an ancestor of the node I'm at.  If this proves unusable, 
I'll tackle this again and let everyone know what the result is.

--Steve


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • searching for closest previous element
    • stephenng - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id MAA29235Wed, 18 Mar 1998 12:00:36 -0500 (EST)
      • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id MAA00392Wed, 18 Mar 1998 12:40:40 -0500 (EST)
      • Paul Prescod - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA20931Thu, 19 Mar 1998 10:32:32 -0500 (EST)
      • <Possible follow-ups>
      • stephenng - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id NAA01051Wed, 18 Mar 1998 13:28:07 -0500 (EST)
        • stephenng - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id OAA17663Thu, 26 Mar 1998 14:25:03 -0500 (EST) <=
      • Reynolds, Gregg - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id SAA04606Wed, 18 Mar 1998 18:19:21 -0500 (EST)