xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Passing Java Object from parent to children


Subject: Passing Java Object from parent to children
From: Honglin Su <hosu@xxxxxxxxxxx>
Date: Fri, 03 Sep 1999 00:37:54 -0400

Hi, there,

I want to construct an XSLT stylesheet which do an pre-order traverse on
XML tree, it will call Java class to process parent node first and
return a Java object, which will be passed to each children. The whole
procedure will be done recursively.

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
 ...
<xsl:template match="*">
        element name = <xsl:value-of select="name(.)"/>
        <xsl:apply-templates/>
</xsl:template>

<xsl:template match="text()"/>
</xsl:stylesheet

The above is a simple stylesheet for pre-order traverse, but how can I
pass Java object (which is a return value from processing the parent
node) from parent to children and do it recursively?

Thank you!

Honglin


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor