[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Sending a nodeset to a java extension

Subject: RE: Sending a nodeset to a java extension
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 16 Dec 2002 10:05:31 -0000
xslt java extension node
The binding between XSLT and Java extension functions is defined by the
implementation, not by the language standard. So questions about Java
extensions are meaningless unless we know what product you are using.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Spencer Bruce
> Sent: 16 December 2002 08:47
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Sending a nodeset to a java extension
> 
> 
> I have an xml file that looks like this:
> 
> <xml>
>     <one>
>         <two>
>             some text
>         </two>
>     </one>
> </xml>
> 
> I want to send the nodeset of one and all its children to a 
> Java extension.
> 
> When I do this in XSL:
> 
> <xsl:template match="one">
>     <xsl:variable name="test">
>         <xsl:copy-of select="."/>
>     </xsl:variable>
>     <xsl:value-of select="java:extension($test)"/> </xsl:template>
> 
> Java (which merely prints out what it receives) only prints 
> out "some text."
> 
> I need it to take in the entire nodeset for evaluation - as 
> in all the nodes and all the content of <one> and its descendants.
> 
> Is there a way to do this?
> 
> Any help would be really appreciated!
> 
> Spencer Bruce
> 
> 
> 
>  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.