You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Kris Schneider <ks...@gmail.com> on 2006/02/03 19:04:51 UTC

Re: How to return a JDom document from a action? [SOLVED]

On 2/3/06, Bruno Dumon <br...@outerthought.org> wrote:
> 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.

Not to mention the horrible irony of having to turn a JDOM doc into a
DOM doc just to use it...

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

--
Kris Schneider <ma...@gmail.com>

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