cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: recursive func in XSP?
Date Sun, 04 Jun 2000 22:25:01 GMT
On Sun, 4 Jun 2000, Neeme Praks wrote:

> 
> Is it possible to write recursive functions in XSP that would return
> XML?
> 
> I have a tree-like object structure in Java and I want to convert it to
> tree structure in XML.
> I have an implementation of this in ECS, now I'm porting my stuff over
> to XSP and want to output XML instead of ECS elements.
> The function is in the beginning of my XSP page.
> 
> Otherwise everything is pretty straight-forward, but what type should my
> function return so the resulting XML fragment would be included in the
> main XML doc?

org.w3c.dom.Node should work fine.

- donald


Mime
View raw message