Altova Mailing List Archives


Re: [xsl] calling java function with saxon processor

From: "Eder de Oliveira" <eder@------------->
To:
Date: 3/8/2005 12:28:00 PM
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

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.