Re: From flat structure to a tree

Subject: Re: From flat structure to a tree
From: Jany Quintard <quintard.j@xxxxxx>
Date: Wed, 9 Feb 2000 14:16:14 +0100 (CET)
On Tue, 8 Feb 2000, Brandon Ibach wrote:

> Quoting Jany Quintard <quintard.j@xxxxxx>:
> > Very good. This is *much* simpler than the code I wrote when trying to
> > .../...

> > (copy-attributes) function. (I have one)
> > 
>    Yes, this should work, but you'd need another (make element) after
> "DIV", lest you lose the header.
Yes.
 
> > There is a last problem which prevents the code to work :
> > .../...
> > 
>    Hmm... not sure what's happening here.  Perhaps you could try
> replacing the (string-ref) calls in the code with calls to:
> 	(define sref (lambda (s k)
> 	  (and (< k (string-length s)) (string-ref s k))))
Well, with this and an other tiny modification, it works.
I can send you the final stylesheet (99.99% B. Ibach) if you are
interested in.
Do you think it could be useful to others ?

Thanks anyway.
Jany.


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


Current Thread