current-date() problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • usmhot
    New Member
    • Mar 2007
    • 2

    #1

    current-date() problems

    I have a stylesheet with the following

    [html]<xsl:styleshe et 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:curr ent-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?
    Last edited by dorinbogdan; Mar 13 '07, 10:08 AM. Reason: added html tags
  • dorinbogdan
    Recognized Expert Contributor
    • Feb 2007
    • 839

    #2
    See this link, it may help.

    Comment

    • dorinbogdan
      Recognized Expert Contributor
      • Feb 2007
      • 839

      #3
      Hi,
      Did you succeed to solve the problem ?
      If yes, please let me know, in order to close the thread.
      Thanks,
      Dorin.

      Comment

      Working...