Hi,

What is the most (run-time) efficient mechanism for binding a Java extension
function to Xalan?

Specifically, I have a Java class that performs a complex analysis of a
document and prepares a number of lists of elements from within the
document.  Later in the XSL stylesheet, these lists are used as follows:

<xsl:apply-templates select="Helper:getRefs($Helper, $key)" mode="..." />

Measuring the execution time of the call to the extension function reveals
that the average round-trip time (Xalan->extension-function->Xalan) time is
about 1.2 mSec.  But measuring the time spent within the Java function
itself is only about 0.02 mSec.  So, it seems that a large amount of time is
spent in the actual binding of the Java extension function into the Xalan.

The Helper namespace it bound to a Java class as follows:

xmlns:Helper = "xalan://com.mysmarttags.http.KeywordMapHelper"

Can anyone suggest an alternate binding mechanism that would be more
efficient?

Thank you,
  -- fas

------------------------------------
MyST Technology Partners, Inc.
F. Andy Seidl
President
[EMAIL PROTECTED]
tel: 734.717.8360
Skype ID:aseidl
------------------------------------


Reply via email to