Subject: Re: [xsl] time from server to document From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Tue, 26 Mar 2002 22:30:22 +0100 |
I want to get the date and time to xml document with xsl.
The result file is generated from xml and xsl file using Xalan.
The other answer is to pass the values as parameters to the style sheet: <xsl:stylesheet ...> <xsl:param name="date"/> <xsl:template ...> ... <xsl:value-of select="$date"/> </xsl:template> ... Consult the manual of your processor on how to pass parameters from the command lins, or if you are using it from Java, look for Transformer.setParameter(). This solution is more portable than using extension functions.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] time from server to docum, Mike Brown | Thread | [xsl] Problems with usage of certai, Bagchi Ratul |
Re: [xsl] sort by attribute text, Mike Ferrando | Date | RE: [xsl] efficiency, Michael Kay |
Month |