Well, I think I found it myself.

Looking inside xsltforms.js I found similar functions and it, apparently, does what we want

XsltForms_xpathCoreFunctions['http://example.net/xforms/new-functions/ new-func'] = new XsltForms_xpathFunction(
  false,
  XsltForms_xpathFunction.DEFAULT_NONE,
  false,
  function() {
    return "NEW FUNC";
  }
);

On 10/07/2013 08:45 PM, Isidro Vila Verde wrote:
I am trying to run the example presented here (http://en.wikibooks.org/wiki/XSLTForms/XSLTForms_only_Extensions#User-Defined_Functions) but the browser complains about a syntax error and, when I open the console, I see the error message:

ReferenceError: XPathCoreFunctions is not defined

Is that example updated to the current xsltforms version orhas anyone tested it?

Best regards

Isidro


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to