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

Subject: (dsssl) file I/O and system call in dsssl
From: Philip J Grabner <grabner@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 31 Oct 2001 20:39:32 -0500 (EST)

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,

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

Current Thread