Nobert, you might want to have a look at the CastorTransformer in the scatchpad block of Cocoon 2.1.2 ff. Iow, there's no need to write any code anymore ... it has been done already.
Regards Werner On Mon, 17 Nov 2003 21:24:19 +0100, [EMAIL PROTECTED] wrote: >Quoting Justin Fagnani-Bell <[EMAIL PROTECTED]>: > >> As I'm rethinking the object-persistence persistence for my web app, >> I'm also looking for a better way to output XML from my java objects. >> Can't really find much on the wiki. ><snip> >The way I use is marshalling my business objects with >Castor(http://www.castor.org/). Its simple to use and fast. >You can use the Castor marshaller in a "MarhsallerGerator or >in an action. If you generate the business objects using the Castor >source generator, the objects contains the marshalling function itself. >You can map the Attributes of the objects to different XML protocolls >using an XML binding file. This is the simplest and fastest way I Know. > >Norbert > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
