|
Subject: Simple Recipe: process-element-children From: David Megginson <ak117@xxxxxxxxxxxxxxxxxxx> Date: Wed, 20 May 1998 07:00:11 -0400 |
Here's a very simple subroutine (perhaps someone has already posted
it). I find it very useful for writing general validation scripts,
where I want to deal with character data only in specific places.
;;
;; Process all element children.
;;
(define (process-element-children #!optional (node (current-node)))
(process-node-list (select-by-class (children node) 'element)))
You can use process-element-children wherever you would use
process-children.
All the best,
David
--
David Megginson david@xxxxxxxxxxxxx
http://www.megginson.com/
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: process-node-list, select-eleme, Paul Prescod | Thread | RE: Simple Recipe: process-element-, David Megginson |
| Re: process-node-list, select-eleme, Paul Prescod | Date | RE: Simple Recipe: process-element-, David Megginson |
| Month |