How to use xp20 extension functions?
696934Apr 17 2009 — edited May 10 2009Hello 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