[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

failure calling extension functions

Subject: failure calling extension functions
From: Leona Slepetis <lrs@xxxxxxxxxxxx>
Date: Thu, 21 Mar 2002 11:43:43 -0600 (CST)
calling java functions cocoon
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.