Subject: Re: [xsl] Extension functions in Oracle 9i From: "Steve Muench" <Steve.Muench@xxxxxxxxxx> Date: Fri, 21 Jun 2002 14:26:33 +0200 |
I just tried this using our 9.2.0.2 version of Oracle XDK for Java (downloaded from OTN) and when I do: C:\temp>oraxsl9202 x.xsl x.xsl I get: <?xml version = '1.0'?> <x-hex>63</x-hex> What version of the Oracle XDK for Java do you have loaded into your database? __________________________________________________________________ Steve Muench - Developer, Product Mgr, Java/XML Evangelist, Author Simplify J2EE and EJB Development with BC4J http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html Building Oracle XML Apps, www.oreilly.com/catalog/orxmlapp ----- Original Message ----- From: "dave beattie" <dave.beattie@xxxxxxxxxxx> To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Sent: Friday, June 21, 2002 12:05 PM Subject: [xsl] Extension functions in Oracle 9i | Hi there - can anybody help with this? | | When I attempt to execute a java extension function from within my | stylesheet I get the error "ORA-29532 Java call teminated by uncaught java | exception: java.lang.NullPointerException". I am using this example from | Steve Muench but the same thing happens regardless of the class or method I | attempt to call. | | <!-- x.xsl: show value in Hexadecimal --> | <xsl:stylesheet version="1.0" exclude-result-prefixes="Int" | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | xmlns:Int="http://www.oracle.com/XSL/Transform/java/java.lang.Integer"> | <xsl:template match="/"> | <xsl:variable name="x" select="99"/> | <!-- Invoke public static toHexString() method on current node "." --> | <x-hex><xsl:value-of select="Int:toHexString($x)"/></x-hex> | </xsl:template> | </xsl:stylesheet> | | Any suggestions gratefully received. | Thanks, | | Dave Beattie | | XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list | | XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Extension functions in Oracle, dave beattie | Thread | AW: [xsl] count string-length witho, "Braumüller, Hans" |
Re: [xsl] count string-length witho, James Fuller | Date | RE: [xsl] count string-length witho, bryan |
Month |