I've just committed more changes to betwixt which support an XML descriptor which can be used to customize the XML output of specific types of beans. I've tried to allow the XML descriptor document to be small and brief - specifying only the things that need to be changed rather than repeating information that the default introspector can figure out for itself.
This means that now betwixt can be used to generate RSS output for the beans used in the RSSDigester from the Digester project. i.e. that betwixt can be the logical opposite of digester, can turn the beans digester makes back into XML again using configurable rules. There's a brief overview of the customizing file in CVS here. http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/betwixt/OVERVIEW.html? rev=1.2&content-type=text/html I've added a JUnit test case called TestRSSRoundTrip which tests parsing an RSS document using Digester, then outputting it as XML then parsing it again using Digester - to check that no loss of information occurs and that the round trip returns the same XML. This is now working :). I'm sure over time this customization mechanism can be enhanced to allow more flexible mapping of a bean to XML though right now I think its a reasonable start at common customization use cases. James -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>