cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: How to return a JDom document from a action? [SOLVED]
Date Fri, 03 Feb 2006 16:17:44 GMT
On Thu, 2006-02-02 at 18:59 +0100, Tino Breddin wrote:
> Hi,
> 
> first i would like to thank you all for your pointers to a solution. I'm 
> happy that it works now.
> 
> The solution is to put a DOM object instead of a JDOM object into the 
> request. That was easy to create by using the DOMOutputter from JDOM. 
> Now i get the xml fragment i wanted, with both access methods, <jx:out 
> .../> and ${request...}.

The XMLizable approach should be more efficient though, especially for
non-trivial trees.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message