Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

115
Views
How to call a JavaScript user extension function from Saxon-JS?

In Java based Saxon (like 8.1.1 that I am still running after more than a decade) it was super easy to call on your own Java extension functions from within XPath, and moderately easy to build your own extension elements. The documentation had an "Extensibility" section just before "Saxon Extensions". Now in Saxon-JS, I see the "Extensibility" discussion conspicuously absent. Does this mean there is no way to easily call on your own javascript functions from within XPath run by Saxon-JS?

I already imagine a way to work around that ... but I'm weary to say it in fear of Michael Kay shutting that loophole down? I'm going to do it anyway: I think we could use his ixsl extension to drop script elements into a scratchpad area, where they would be executed and leave their result which then would be fetched back. But this seems a rather expensive round-about way of doing it.

Nothing simpler?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!