Re: Recursive elements in DSSSL

Subject: Re: Recursive elements in DSSSL
From: Stephane Bortzmeyer <bortzmeyer@xxxxxxxxxx>
Date: Wed, 08 Mar 2000 11:39:39 +0100
On Tuesday 7 March 2000, at 16 h 41, the keyboard of Brandon Ibach 
<bibach@xxxxxxxxxxxxxx> wrote:

> (define (ancestors nl) (node-list-map (lambda (snl)
>   (let loop ((cur (parent snl)) (result (empty-node-list)))
>        (if (node-list-empty? cur) result
>            (loop (parent cur) (node-list cur result))))) nl))

Many thanks, it works perfectly and I was even able to modify it to suit my needs. Thanks again, DSSSL is not so complicated when someone writes it for you :-)

 DSSSList info and archive:

Current Thread