This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
External Function Call From Style Sheets (2nd Try)
- To: "xsl-list at mulberrytech dot com" <xsl-list at mulberrytech dot com>
- Subject: External Function Call From Style Sheets (2nd Try)
- From: Omar López Ruiz <omar at informix dot com>
- Date: Wed, 10 May 2000 12:31:58 +0200
- Organization: Informix Software Ibérica S.A.
- Reply-To: xsl-list at mulberrytech dot com
Omar López Ruiz wrote:
> Hi all,
>
> I'm trying to call an external Java function from an XSL-T
> stylesheet as follows:
>
> <xsl:stylesheet
> version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:dxsutil="DxsUtil">
>
> <xsl:template match="/">
> <HTML>
> <H5>About:<BR/>
> <xsl:if test="function-available('dxsutil:about')">
> <P><xsl:value-of select="dxsutil:about()"/></P>
> </xsl:if>
> </H5><BR/>
> </HTML>
> </xsl:template>
>
> </xsl:stylesheet>
>
> I've checked an e-mail from Michael Kay on April 13th of 2000
> answering a very similar question, so I've followed his indications.
> Although I think the URI of the namespace is irrelevant, I put the
> DxsUtil.class file on the same directory of the stylesheet. I've tried
> in both Saxon and XT (from the command line) but it haven't worked. I
> think I'm missing something, isn't it?
>
> Please, could you tell me the solution?
>
> Thanks in advanced.
>
> Omar López.
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
_____________________________________________________________
//////////////// Omar López Ruiz
/////////// // Informix Software Ibérica s.a.
/////// / /// Sales Engineer
////// // //// Web Solutions Division
///// // ///// Avda. Diagonal, 615 8º F (Edif. "El Dau")
//// // ////// 08028 Barcelona - Spain -
/// // /////// Tel.: +34 93 363 79 86 / +34 639 600 898
// // //////// Fax : +34 93 363 79 98
/ //////////// mailTo: omar@informix.com
//////////////// WWW: http://www.informix.com
_____________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list