Re: Oracle Extension Functions

Subject: Re: Oracle Extension Functions
From: "Steve Muench" <smuench@xxxxxxxxxxxxx>
Date: Tue, 13 Jun 2000 18:17:20 -0400
Here's a simple example that prints the value of
the 'x' variable in hex using the java.lang.Integer class.

For more info, see the extfunc.html file that accompanies
the Oracle XML Parser v2 download.

<!-- x.xsl: show value in Hexadecimal -->
<xsl:stylesheet version="1.0" exclude-result-prefixes="Int"
  <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>

Run this stylesheet against any input document 'x.xml' like:

 $ oraxsl x.xml x.xsl

to get:

Steve Muench, Lead XML Evangelist & Consulting Product Manager
Business Components for Java & XSQL Servlet Development Teams
Oracle Rep to the W3C XSL Working Group
Author "Building Oracle XML Applications", O'Reilly, Oct 2000
----- Original Message ----- 
From: <AlexK@xxxxxxxxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxx>
Sent: Tuesday, June 13, 2000 9:43 AM
Subject: Oracle Extension Functions

| Does anyone have an example of XSL code which uses extension elements with
| the Oracle XSL processor?
|  XSL-List info and archive:

 XSL-List info and archive:

Current Thread