[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] XPath context evaluation
Subject: RE: [xsl] XPath context evaluation From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Fri, 12 May 2006 20:50:00 +0100 |
> BTW, where would I register my own functions? There are many ways in Saxon to incorporate your own functions if they are in your own namespace (you'll have to dig around the Javadoc and probably the code to find them though!) - essentially Saxon's XPath parser searches in a set of FunctionLibrary objects, each of which is given the opportunity to grab a function reference and bind it to some implementation; you can add your own FunctionLibrary at various levels of the system either globally in the Configuration or in a particular static context. To add a function that's in the standard namespace is not really approved of but I can see why you want to do it (there's a need for this in XForms as well). At present, though, it requires code change, or at a minumum a change to the table of functions in the StandardFunctions module. If you want more help on this, switch to the Saxon list. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XPath context evaluation, Victor Toni | Thread | Re: [xsl] XPath context evaluation, Victor Toni |
RE: [xsl] Namespace-alias using #de, Buchcik, Kasimier | Date | Re: [xsl] XPath context evaluation, Victor Toni |
Month |
Keywords