External Function Call From Style Sheets

Subject: External Function Call From Style Sheets
From: Omar López Ruiz <omar@xxxxxxxxxxxx>
Date: Mon, 08 May 2000 23:25:11 +0200
    Hi all,

    I'm trying to call an external Java function from an XSL-T
stylesheet as follows:


  <xsl:template match="/">
      <xsl:if test="function-available('dxsutil:about')">
      <P><xsl:value-of select="dxsutil:about()"/></P>


    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

Current Thread