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

XSLT/Java question

Subject: XSLT/Java question
From: pcarey@xxxxxxxxxxx
Date: Tue, 23 Dec 2003 11:33:06 -0500
xslt java
Hello XSLT gurus.

I am using Saxon 6.5.3 and I would like to have access to some java methods
I've defined. I looked through the archives, and I think I found the answer
here: http://www.dpawson.co.uk/xsl/sect4/N9723.html.

For some reason, though, I cannot seem to get this to work. I have been
successful in using the built-in java classes (such as java.lang.Math), but
I'm stuck when trying to use my own classes. Below are the relevant
portions of XSLT and java. If anyone has any ideas why this fails, I would
be extremely grateful.

Thanks, Pete


Here is the error:
============================================================
The URI java:TestClass does not identify an external Java class


Here is my CLASSPATH:
============================================================
.;..;E:\XSLT_CLASSES;E:\saxon\saxon.jar


Here is the java class, compiled in E:\XSLT_CLASSES:
============================================================
public class TestClass
{
    public static String returnMyName(){ 

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.