RE: copying of selected attributes

Subject: RE: copying of selected attributes
From: Avi Kivity <Avi@xxxxxxxxxxxxx>
Date: Thu, 29 Apr 1999 10:14:21 +0200
On Wednesday, April 28, 1999 3:34 PM, Daniel Speck [SMTP:dspeck@xxxxxxx]
wrote:
> Steffen,
> 
> If all you want to do is not copy certain attributes, you might try
> writing
> a modified version of the (copy-attributes) function provided in the
> Jade
> documentation under the SGML transform item. Here is a possible
> (untested)
> version:
> 

A simpler approach would be to use (copy-attributes) as-is, but filter out
unneccesary elements:

(remove-if
    (lambda (attr-val) (member (car attr-val) excluded-attr-names))
    (copy-attributes)
)

The (remove-if) procedure is in the dsssl procedure library, which can be
found on Mulberry's site.


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


Current Thread