cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: Newbie: How to capture XML from custom class?
Date Thu, 03 Jun 2004 05:39:34 GMT
Le 2 juin 04, à 18:10, Terry Brick a écrit :
> ...XML in the right places.  Ideally, I would like something like 
> this...
> <doc>
>   <title>My Title</title>
>   <content>
>     <mynamespace:generate class="com.mycompany.businessobject1"/>
>   </content>
> </doc>...

This is very similar to what the JXTemplateGenerator does, see 
http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html

For examples, search for type="jx" in sitemap.xmap files. The tour 
block, for example, uses JX to generate XML out of java objects for the 
bean editor example.

-Bertrand






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


Mime
View raw message