Re: -o option and sgml backend?

Subject: Re: -o option and sgml backend?
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Wed, 11 Feb 1998 15:07:02 -0500
Norman Walsh wrote:
> I was mildly surprised to see that jade seems to ignore the -o
> option when the SGML backend is used.  I have a stylesheet that
> uses the element construction rules but never uses make entity.
> Output goes to stdout, and I was hoping -o foo.html would make
> output go to foo.html instead. Is this a known feature? ;-)

Your idea would be good, but obviously it is easy to get the output into
foo.html. :)
> On a related note, is there any way for a stylesheet to query what
> filename was given on the -o option?  (I'm guessing, "no".)

I'm confident your guess is correct. The more general question is:
"Wouldn't it be great to be able to feed string-valued arguments into
DSSSL scripts in Jade?" There is a workaround for this one, too, though
more painful. Your makefile or batch script can autogenerate an SGML
entity with the right declarations in it.

 Paul Prescod  -

"Scarcely a discussion goes on, between linguistic groups or regions or 
even within cities and towns, which is not a struggle between competing 
myths of victimization."  
		- John Ralston Saul, "Reflections on a Siamese Twin"

 DSSSList info and archive:

Current Thread
  • -o option and sgml backend?
    • Norman Walsh - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id OAA21531Wed, 11 Feb 1998 14:18:31 -0500 (EST)
      • Paul Prescod - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id PAA22309Wed, 11 Feb 1998 15:04:00 -0500 (EST) <=
        • Chris Maden - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id PAA22827Wed, 11 Feb 1998 15:20:19 -0500 (EST)
      • Tony Graham - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id PAA22516Wed, 11 Feb 1998 15:10:56 -0500 (EST)