|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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








