|
Subject: [xsl] Extension functions in Oracle 9i From: dave beattie <dave.beattie@xxxxxxxxxxx> Date: Fri, 21 Jun 2002 11:05:31 +0100 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] xsl:copy producing ugly o, David Carlisle | Thread | Re: [xsl] Extension functions in Or, Steve Muench |
| [xsl] xsl:copy producing ugly outpu, Richard Mitchell | Date | Re: [xsl] xsl:copy producing ugly o, James Fuller |
| Month |