Feb 3, 2003 #1 yuli1104 Programmer Feb 20, 2002 60 CA Hello: Does anyone know if there is some way I can get the current date and time in XSL ? Thanks Yuli1104
Hello: Does anyone know if there is some way I can get the current date and time in XSL ? Thanks Yuli1104
Feb 4, 2003 #2 loosecannon1 Programmer Feb 19, 2002 55 US I believe a couple of explanations/scripts are floating around this Forum. Try searching on "date". Upvote 0 Downvote
I believe a couple of explanations/scripts are floating around this Forum. Try searching on "date".
Mar 28, 2003 #3 REJEE Programmer Mar 28, 2003 1 US Hi. Does anybody know how to do this (Get the current Date in XSLT) ? I tried to search but can't seem to find the answer. Please help. I'ld appreciate it. Upvote 0 Downvote
Hi. Does anybody know how to do this (Get the current Date in XSLT) ? I tried to search but can't seem to find the answer. Please help. I'ld appreciate it.
Mar 28, 2003 #4 palbano Programmer Oct 9, 1998 4,341 US This did not work? thread426-496123 -pete Upvote 0 Downvote
Sep 4, 2003 #5 shootsie Programmer Apr 12, 2001 43 US I'm trying to get the current date in XSL too and cannot find a valid thread. Anyone? Upvote 0 Downvote
Sep 5, 2003 1 #6 sethu27 Programmer Aug 26, 2003 31 IN hi, JavaScript and xslt functions are used to embed date and time in xsl. The code is given below <xsl:template match="item"> <script language="JavaScript"> <![CDATA[ function dt(Elem) { Elem.innerHTML=Elem.innerHTML + Date(); } ]]> </script> <p onclick="dt(this)"> <xsl:apply-templates/> </p> </xsl:template> Upvote 0 Downvote
hi, JavaScript and xslt functions are used to embed date and time in xsl. The code is given below <xsl:template match="item"> <script language="JavaScript"> <![CDATA[ function dt(Elem) { Elem.innerHTML=Elem.innerHTML + Date(); } ]]> </script> <p onclick="dt(this)"> <xsl:apply-templates/> </p> </xsl:template>
Dec 25, 2003 #7 mountainbiker Programmer Aug 21, 2002 122 GB if your xslt parser (e.g., xalan) can handle extension, go have a look at the date and time functions available at www.exslt.org. Upvote 0 Downvote
if your xslt parser (e.g., xalan) can handle extension, go have a look at the date and time functions available at www.exslt.org.