This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

failure calling extension functions



Hi all,


I am trying to get the current date using an
extension function. My XSL looks like:

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  xmlns:Date="www.saxon.com/java/java.util.Date">

  <xsl:template match="foo">
    <xsl:value-of select="Date:toString(Date:new())"/>
  </xsl:template>
</xsl:stylesheet>

I get the error:

Call to extension function failed: www.saxon.com/java/java.util.Date

I have tried using other name spaces and nothing seems to
work. Could it be the software versions I am using?

Cocoon 1.0
Tomcat 3.2
Xalan 1.2
Xerces 1.2
JDK 1.3

Thanks for any help,
Leona Slepetis



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]