Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to use xp20 extension functions?

696934Apr 17 2009 — edited May 10 2009
Hello everybody,

I want to use Java (JAXP) to execute XSL transformations which use the xp20 (http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20) extension functions.

The "basic" transformation is working,
Vendor:<xsl:value-of select="system-property('xsl:vendor')"/>
Version:<xsl:value-of select="system-property('xsl:version')"/>

results in:
Vendor:Oracle Corporation.
Version:2

However, when I try <xsl:value-of select="xp20:current-dateTime()"/> (yes, the namespace is declared), I get the following error:
XML-22043: (Fehler) Fehler bei Erweiterungsfunktion: Methode 'current-dateTime' nicht gefunden
(roughly: (Error) Error in extension function: Method 'current-dateTime' not found)

This is after adding bpm-services.jar to my classpath. Before, I got a "class not found" (or something like that...).

I guess something is missing in my classpath - can anybody tell me which jar files I need to add and where to find them? This should be compatible with JDeveloper 10.1.3.4 and the SOA suite 10.1.3.4

Thanks a lot,

Finch
This post has been answered by friscoki on Apr 22 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 7 2009
Added on Apr 17 2009
9 comments
4,914 views