Re: [xsl] Oracle nodeset function

Subject: Re: [xsl] Oracle nodeset function
From: "Steve Muench" <Steve.Muench@xxxxxxxxxx>
Date: Thu, 28 Mar 2002 22:52:38 +0100
Here's an example:

<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
                xmlns:ora="http://www.oracle.com/XSL/Transform/java";
                exclude-result-prefixes="ora">
  <xsl:variable name="x">
    <foo>
      <bar>
        <baz>10</baz>
        <baz>12</baz>
      </bar>
    </foo>
  </xsl:variable>
  <xsl:template match="/">
    <answer>
      <xsl:value-of select="ora:node-set($x)/foo/bar/baz[2]"/>
    </answer>
  </xsl:template>
</xsl:stylesheet>


This outputs:

<answer>12</answer>

if you run it on any input document.
__________________________________________________________
Steve Muench - Developer, Product Mgr, 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: <mjyoungblut@xxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, March 28, 2002 19:22
Subject: [xsl] Oracle nodeset function


| Can somebody please tell me what the nodeset function is in Oracle(for
| example, saxon:node-set( ), xalan:nodeset( ))?
| 
| Thanks,
|       Matt
| 
| 
|  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