xsl-list
[Top] [All Lists]

Date problem

2002-12-09 08:53:23
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(_at_)i2s(_dot_)pt
http://www.i2s.pt
 

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



<Prev in Thread] Current Thread [Next in Thread>