Subject: Re: Unix login name and full name into output? From: Brandon Ibach <bibach@xxxxxxxxxxxxxx> Date: Fri, 13 Aug 1999 22:10:35 -0500 |
Quoting Adam Di Carlo <adam@xxxxxxxxxxx>: > Kai.Grossjohann@xxxxxxxxxxxxxxxxxx (Kai Großjohann) writes: > > I would like to include the login name and the full name of the Unix > > user running Jade in the Jade output. How can I do this? (OpenJade > > is also okay, but I don't know anything about that.) > > Basically, what I do is handle this sort of stuff on the SGML side. > To wit, in the document preamble, I include something like: > > <!entity % dynamic SYSTEM "dynamic.ent"> %dynamic; > > Prior to processing the SGML file (or XML), I recreate my dynamic file: > > echo "<entity user \"`whoami`\">" > dynamic.ent > > If you really want to solve this on the stylesheet side, whiich is > perfectly acceptable IMHO, AFAIK, you'll have to reference a file or > URL. The contents of this file could be automatically generated as > well. > Another twist on this would be to whip up a simple shell script that dumps the needed information out as entity declarations (similar to what Adam does above), then use shell I/O redirection (at least in bourne shells and the like) to direct the output of this script in to an unused descriptor (like 5) for Jade, then use a System Identifier like "<osfd>5" to access it. I'm afraid I don't have time to work up an example right now, but I'll try to do one soon. -Brandon :) DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Unix login name and full name i, Didier PH Martin | Thread | Re: Unix login name and full name i, Brandon Ibach |
RE: Unix login name and full name i, Didier PH Martin | Date | Re: About XML to multiple language/, Brandon Ibach |
Month |