Re: [xsl] calling java function with saxon processor

Subject: Re: [xsl] calling java function with saxon processor
From: "Eder de Oliveira" <eder@xxxxxxxxxxxxx>
Date: Tue, 8 Mar 2005 09:27:05 -0300
Hi.!

My java class this in the directory C:/GrupoStela/Lattes2/Modulos/XML/ImportacaoXML/Trabalho/bin/br/cnpq/stela/xml/importacao/LatXMLXSLTObjectCtrl

As I can make this code:
<?xml version='1.0'?>
<xsl:stylesheet>
<xmlns:xsl=http://www.w3.org/1999/XSL/Transform
       xmlns:java="C:/GrupoStela/Lattes2/Modulos/XML/ImportacaoXML/Trabalho/bin/br/cnpq/stela/xml/importacao/LatXMLXSLTObjectCtrl"
       exclude-result-prefixes="java"
       version='1.0'>

And I call thus:

<xsl:variable name="NRO_ID_CNPQ" select="java:getNROIDCNPQ()"/>

This correct one?

thanks a lot
Eder



----- Original Message ----- From: "Michael Kay" <mike@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, March 07, 2005 11:04 AM
Subject: RE: [xsl] calling java function with saxon processor



Please see:

http://www.saxonica.com/documentation/extensibility/functions.html

Michael Kay
http://www.saxonica.com/

-----Original Message-----
From: Eder de Oliveira [mailto:eder@xxxxxxxxxxxxx]
Sent: 07 March 2005 13:04
To: XSL - list
Subject: [xsl] calling java function with saxon processor

Hi..!

How I can calling java function using SAXON 8.3 processor?

The exemple:
<?xml version='1.0'?>
<xsl:stylesheet>
<xmlns:xsl=http://www.w3.org/1999/XSL/Transform
       xmlns:java="C://Java_Projects/Helloworld"
       exclude-result-prefixes="java"
       version='1.0'>

Where had
xmlns:java="C://Java_Projects/Helloworld"

Would can be
xmlns:java="http://xyz.com";

Thanks a lot
Eder

Current Thread