- robert
On 10 Apr 2004, at 10:55, robert burrell donkin wrote:
hi brandon
i have just finished off support for per property CDATA encoding in the betwixt file. i haven't had time to write up documentation for it yet, though. you'll need to build from CVS HEAD. the mechanism is pretty easy: just add an option to the element you want to be CDATA. i've attached an example betwixt file (from the unit tests).
i hope to have the documentation written up a little later today.
- robert
<?xml version='1.0'?> <info primitiveTypes="attribute"> <element name='greek-abc'> <element name='alpha' property='a'> <option> <name>org.apache.commons.betwixt.mixed-content-encoding</name> <value>CDATA</value> </option> </element> <element name='beta' property='b'> <option> <name>org.apache.commons.betwixt.mixed-content-encoding</name> <value>escaped</value> </option> </element> <element name='gamma' property='c'> </element> </element> </info>
On 9 Apr 2004, at 22:20, Brandon Smith wrote:
I may be missing something with betwixt. I want only one property from a
bean to be surrounded by CDATA. The rest should use the default. What
exactly do I need to do?
Brandon Smith
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
