Subject: About including the user account in the result of a processed document From: "Didier PH Martin" <martind@xxxxxxxxxxxxx> Date: Fri, 13 Aug 1999 13:54:58 -0400 |
Hi, I thought that it would be useful to include this extract from another list because this could be also an other way to resolve Kai's problem but with a DSSSL way. Make a dsl script which includes an other one. However the first script contains knowledge about a particular host and cannot be used on all host. So actually , the best solution to date seems to be the script stuff using the command line. regards Didier PH Martin mailto:martind@xxxxxxxxxxxxx http://www.netfolder.com extract form XSL list: ----------------------------------------------- / Kai.Grossjohann@xxxxxxxxxxxxxxxxxx (Kai Großjohann) was heard to say: | One approach is to have XT create "@XYZZY@" for the doccreator element | and to run the XT output through sed which puts in user and login | name. But that's the wrong way to do it since it means that my | documents mustn't contain that string. Another possibility is to construct a little wrapper XSL stylesheet that defines these as variables. Instead of processing the documents with stylesheet x.xsl, construct y.xsl: <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> <xsl:variable name="login-name">ndw</xsl:variable> <xsl:variable name="full-name">Norman Walsh</xsl:variable> <xsl:include href="x.xsl"/> </xsl:stylesheet> And refer to the variables login-name and full-name in your x.xsl stylesheet. DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Linkable footnotes?, Christof Drescher | Thread | About OpenJade and Debian, Didier PH Martin |
RE: About XML to multiple language/, Didier PH Martin | Date | RE: Unix login name and full name i, Didier PH Martin |
Month |