The XML I am getting looks the following:
<foo> <val> <![CDATA[<error>Some Error</error>]]> </val> </foo>
when I would need it to be:
<foo> <val> <![CDATA[<error>Some Error</error>]] </val> </foo>
I have no issues marshalling this Bean using Castor. Any help on how to get Betwixt to produce the desired XML string is welcome.
Take a look the the docs http://jakarta.apache.org/commons/betwixt and read
about .betwixt files. They allow you to completely customize your XML output.
I've had to solve a similar problem before, unfortunately I can't remember the exact details of how I did it.
Post again if you are still having problems, and I can give you some more details.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
