Subject:Problem with xs name space in xsl Author:jimmy joy Date:19 Jun 2006 08:28 PM Originally Posted: 19 Jun 2006 08:29 PM
Hi,
I want to find the difference in days between two dates. The problem is that i am not able to use any functions within the name space xs. I added xmlns:xs="http://www.w3.org/2001/XMLSchema" to the name space declarations in my xsl. Still I am getting the error "Namespace 'http://www.w3.org/2001/XMLSchema' does not contain any functions.". Can anyone help me on this?
My XSL contains something like this:
<xsl:variable name="date1" select="xs:date(2006-06-12)"/>
I am getting this error whenever I am trying to call any function in any namespace other than xsl: