0

when I am trying to get current date and time as below ,I get an error "Error in XPath expression Unknown function-Name and number of arguments do not match any function signature in the static context-'http://exslt.org/dates-and-times:date-time' .Is there any other way I can get currentdatetime in xslt 1.0

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet  version="1.0" 
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:ex="http://exslt.org/dates-and-times">
   ----
         <test>
          <xsl:value-of select="ex:date-time()"/>
          </test>
 </xsl:stylesheet>
sreddy
  • 17
  • 4

0 Answers0