Re: (dsssl) file I/O and system call in dsssl

Subject: Re: (dsssl) file I/O and system call in dsssl
From: Tammy Fox <tfox@xxxxxxxxxx>
Date: Wed, 31 Oct 2001 21:55:38 -0500
I don't know how to do this in DSSSL, but you can create
your own custom backend that copies the images.
That's what I do for my HTML output.

Tammy

On Wed, Oct 31, 2001 at 08:39:32PM -0500, Philip J Grabner wrote:
> 
> hi,
> 
> in my docbook stylesheets i would like to be able to do some simple file
> management (such as copying and creating directories), but have not really
> found a way to do this with the openjade processor. scheme48 (at
> www.s48.org) mentions posix implementations... is there anything like that
> available for openjade?
> 
> or is there perhaps some equivalent to the C system() call? so that i
> could do something like (system "mkdir my-dir")?
> 
> to copy files i was able to create the following hack:
> 
>   (define (copy-file source destination)
>     (make entity
>       system-id: (html-entity-file destination)
>       (make formatting-instruction data: (read-entity source))))
> 
> but i am fairly sure this is not the "right" way...
> (especially if i am trying to copy images).
> 
> thanks in advance,
> phil
> 
> 
>  DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

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

Current Thread