| The Modular DocBook Stylesheets | ||
|---|---|---|
| Prev | DSSSL Library | Next |
(nth-node nl k)
Returns the kth node in nl. The first node in the node list has the index "1".
Norman Walsh, <norm@berkshire.net>
(define (nth-node nl k)
;; Return a specific node in a node list (by numeric index)
(if (equal? k 1)
(node-list-first nl)
(nth-node (node-list-rest nl) (- k 1))))| Prev | Home | Next |
| node-list-reduce | Up | pad-string |
Copyright © 1997, 1998 Norman Walsh