469,330 Members | 1,288 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,330 developers. It's quick & easy.

current-date() problems

2
I have a stylesheet with the following

[html]<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/TR/xpath-functions">
<xsl:output method="xml" encoding="UTF-8" indent="yes" omit-xml-declaration="no"/>
<xsl:variable name="today" select="fn:current-date()"/>[/html]

But when I try to apply the stylesheet in XMLSpy v4.0, I get

"XSL transformation failed due to the following error:

Namespace "http://www.w3.org/TR/cpath-functions does not contain any functions."

What am I doing wrong?
Mar 13 '07 #1
2 4019
dorinbogdan
839 Expert 512MB
See this link, it may help.
Mar 13 '07 #2
dorinbogdan
839 Expert 512MB
Hi,
Did you succeed to solve the problem ?
If yes, please let me know, in order to close the thread.
Thanks,
Dorin.
Mar 21 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Jesper Stocholm | last post: by
8 posts views Thread by Mark White | last post: by
3 posts views Thread by Brett R. Wesoloski | last post: by
3 posts views Thread by Madhur | last post: by
5 posts views Thread by Aljosa Mohorovic | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.