Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7744561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:47:50+00:00 2026-06-01T09:47:50+00:00

I would like to use XPath 2.0, more specifically the distinct-values function. I downloaded

  • 0

I would like to use XPath 2.0, more specifically the distinct-values function. I downloaded the Saxon Home Edition because it can do XPath 2.0 and XSLT 2.0 but now it moans about not being able to invoke java stuff.

Cannot find a matching 1-argument function named {http://xml.apache.org/xslt/java}java.text.SimpleDateFormat.new(). Note that direct calls to Java methods are not available under Saxon-HE;

The built in processor in JRE has no problem with java expressions. Is there some way to mix Saxon-HE and the default JRE processor? Or is there some free processor that can do both?

Side question: Why is XPath 2.0 and XSLT 2.0 implemented so seldom? It’s a few years old but all the big wig processors can’t do it… 🙁

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T09:47:51+00:00Added an answer on June 1, 2026 at 9:47 am

    If you want to use Saxon 9 and extension functions you need to use one of the commercial editions or you need to use the new mechanism of integrated extension functions or you need to use Saxon 9.1 (still available).
    As for formatting dates, XSLT and XPath 2.0 have support for the schema data types xs:date and xs:dateTime and there are functions to format these, like http://www.w3.org/TR/xslt20/#format-date.
    As for support for XSLT and XPath 2.0, XPath 2.0 is a subset of XQuery 1.0, you should be able to find implementations for that beside Saxon. XSLT 2.0 is a complex specification and there are other implementations from IBM and Intel for instance, but not as open source projects.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like how to use the not in XPath properly. I just can't
I would like to use a COM object in my application. How can I
I am selecting some nodes using XPath, and would like to use wildcards. Is
I have to get values from HTML document, I can't use full xpath expression
I would like to use XPath to extract the ImageUID element value (i.e.{7f2535d0-9a41-4997-9694-0a4de569e6d9}) and
I am using .NET 4.0 and I would like to use XPath 2.0 methods
I would like to use the group_by method, but instead of using a column
I would like to use complex numbers as defined in C99, but I need
I would like to use HTML 4.01 Strict, and used a DOCTYPE of it
I would like to use KVO in the following context: 1) In touchesBegan:withEvent: I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.