[xsl] Date problem

Subject: [xsl] Date problem
From: Hélder Sousa <hsousa@xxxxxx>
Date: Mon, 9 Dec 2002 15:53:23 -0000
Hi :)

I'm doing a xsl that produces a html code that represent a form

<xsl:element name="form">
	<xsl:attribute name="action">page</xsl:attribute>
	<xsl:attribute name="method">post</xsl:attribute>
 	<xsl:attribute name="ID">form1</xsl:attribute>
	<xsl:element name="input">
		<xsl:attribute name="type">hidden</xsl:attribute>
		<xsl:attribute name="name">system</xsl:attribute>
		<xsl:attribute name="value"><xsl:value-of select="@System"/></xsl:attribute>
	</xsl:element>
	<xsl:element name="input">
		<xsl:attribute name="type">hidden</xsl:attribute>
		<xsl:attribute name="name">todayDate</xsl:attribute>
		<xsl:attribute name="value">????????</xsl:attribute>
	</xsl:element>
</xsl:element>

The question is: how I put the actual date in "????????"? Is there any function in xsl that returns the actual date?! Or I have to use jscript?!

Tks for the help :)


Hélder Sousa

Departamento de Projectos e-business 
I2S Informática - Sistemas e Serviços, S.A. 
Telefone: 22 8340400 
Fax: 22 8340495 
hsousa@xxxxxx
http://www.i2s.pt
 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread