cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <kschnei...@gmail.com>
Subject Re: How to return a JDom document from a action? [SOLVED]
Date Fri, 03 Feb 2006 18:04:51 GMT
On 2/3/06, Bruno Dumon <bruno@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 <mailto:kschneider@gmail.com>

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


Mime
View raw message