Or write a custom generator. We have a custom writer transforming certain JAVA classes to SAX events and use it in a generator like
myJAVA = getSomehowTheJAVA(); contentHandler.startDocument(); XMLSaxWriter writer; // generate the actual xml writer = new XMLSaxWriter(contentHandler); writer.toXML(resultList); contentHandler.endDocument(); Christoph -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 15:18 To: [EMAIL PROTECTED] Subject: AW: jboss and cocoon Whats about castor? Serienlize your DataVO to XML and deserialize the XML file to a DataVO. Juraj -----Ursprüngliche Nachricht----- Von: arnaud [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 18. Februar 2003 14:58 An: cocoon Betreff: jboss and cocoon hi does anybody used cocoon with jboss ? i would like to use mey ejb method : toXML() who transform ejb data in xml what kind of generator may i use ? thanks --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither be binding nor construed as constituting a commitment by the ECB except where provided for in a written agreement. This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure, use or dissemination, either in whole or in part, is prohibited. If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>