xsl-list
[Top] [All Lists]

RE: Date problem

2002-12-09 11:07:56
      <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?!


This is a FAQ. Pass the current date as a parameter to the stylesheet.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



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