Subject: RE: [xsl] Convert String to (node-set) From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Wed, 7 Feb 2001 11:02:37 -0000 |
> So, the obvious Q is, how do I integrate a SAXON extension > fn. when I want > to use XALAN (LAtest release, 2.0) from my JAVA program. I think that almost all the Saxon built-in extension functions are written to make use of internal Saxon interfaces, so they won't work with a different processor. But the good news is that Xalan-Java 2 has its own implementations of some of the extension functions that were previously only in Saxon, for example there appears to be a xalan:evaluate(). I think it should be possible, though I haven't proved it, to write your stylesheet to use xx:evaluate(), and map xx to the Saxon extension function in a <saxon:script> element (just introduced in Saxon 6.2), and to the Xalan extension function in <xalan:script>, so that the stylesheet works with either processor. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Convert String to (node-s, David Carlisle | Thread | RE: [xsl] Convert String to (node-s, mxmodi |
Re: [xsl] XInclude in Cocoon, Jeni Tennison | Date | RE: [xsl] Table breaks AND multi-le, Michael Kay |
Month |