|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: time from server to document
Subject: Re: time from server to document
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 26 Mar 2002 22:30:22 +0100
|
Jarkko Moilanen wrote:
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.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|