[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How do I use my own JavaClass???
The bindings from XSLT to external Java classes are implementation-dependent. You appear to be using the Xalan processor (or possibly LotusXSL), so you should consult the documentation that comes with that product. There is also a summary of how Java bindings work with all the popular XSLT processors (actually, it's in most cases more detailed than the vendor's own documentation) in my book XSLT Programmers Reference (Wrox Press). Michael Kay Software AG home: Michael.H.Kay@n... work: Michael.Kay@s... > -----Original Message----- > From: Cyrill Zadra [mailto:czadra@g...] > Sent: 22 February 2002 09:53 > To: xml-dev@l... > Subject: How do I use my own JavaClass??? > > > > Hi > > I saw, that is possible to use Java Classes from the official Java API > with > the following Syntax: > > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:javaMath="http://xml.apache.org/xslt/java" > xmlns:lxslt="http://xml.apache.org/xslt"> > > <lxslt:component prefix="Koordpool" functions="cos sin"> > <lxslt:script lang="javaclass" src="class:java.lang.Math"/> > </lxslt:component> > > So but I'd like to work with my own Java Class I've written. > But I have no > idea how to implement it. > > greets Cyrill > > > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > initiative of OASIS <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this list use the subscription > manager: <http://lists.xml.org/ob/adm.pl> >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|