OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] How do I use my own JavaClass???

[ Lists Home | Date Index | Thread Index ]

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

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com

> -----Original Message-----
> From: Cyrill Zadra [mailto:czadra@geo.unizh.ch]
> Sent: 22 February 2002 09:53
> To: xml-dev@lists.xml.org
> Subject: [xml-dev] 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>


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS