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

Subject: Re: (dsssl) file I/O and system call in dsssl
From: Trent Shipley <tcshipley@xxxxxxxxxxxxx>
Date: Thu, 1 Nov 2001 00:00:12 -0700
In an ideal world DSSSL would be a SCHEME library so that the call would use 

As far as I know OpenJade can't be used that way . . . 

On Wednesday 31 October 2001 21:14, you wrote:
> Quoting Philip J Grabner <grabner@xxxxxxxxxxxxxxxxxxx>:
> > 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
> > 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")?
>    Jade does have some interesting file I/O capabilities via SP's
> Formal System Identifiers, but no DSSSL implementation is appropriate
> for file management.  DSSSL is a transformation and styling language,
> not a shell.
>    My suggestion would be to create a shell script or Makefile to wrap
> around your Jade calls, and let these do the work.  If you want to do
> file management based on information in your document, why not have
> your stylesheet use (make entity) to write out a shell script that can
> be run (possibly by another shell script that also invokes Jade) after
> Jade has finished?  This automatically generated script could do all
> of the needed directory creation and file copying.
>    Of course, I'm assuming you're running under a unix-ish system.
> If this is under Windoze, you'd need to cook up something a little
> different, but the basic idea should be adaptable.
> -Brandon :)
>  DSSSList info and archive:

 DSSSList info and archive:

Current Thread