Re: XML encoding from a DSSSL stylesheets?

Subject: Re: XML encoding from a DSSSL stylesheets?
From: Peter Nilsson <pnidv96@xxxxxxxxxxxxxx>
Date: Wed, 8 Mar 2000 13:21:29 +0100 (CET)
On Wed, 8 Mar 2000, Stephane Bortzmeyer wrote:

> On Tuesday 7 March 2000, at 20 h 23, the keyboard of Brandon Ibach 
> <bibach@xxxxxxxxxxxxxx> wrote:
> 
> >               (cdr (or (assoc "encoding" (cddr p)) '(#f "[none]"))))))))
> 
> The great thing about DSSSL is its portability :-( "assoc" is not known by 
> Jade 1.2.

It can be defined quiet trivially:
(untested)

(define (assoc obj alist)
  (cond
   ((null? alist) #f)
   ((equal? obj (car (car alist))) (car alist))
   (else (assoc obj (cdr alist)))))

Isn't that available in the procedure library?

/Peter
--
'(#\P . (#\e . (#\t . (#\e . (#\r)))))


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


Current Thread