|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Oracle nodeset function
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








