commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From C Neville <cfneville2...@yahoo.ca>
Subject can you configure the wrapCollectionsInElement option in the .betwixt file?
Date Sun, 26 Sep 2004 22:48:33 GMT
Hello,

I'm new to Betwixt and I'm trying to figure out how to
customize the way the XML is written for a bean using
the .betwixt file. 

The problem I have is that I don't want collections to
be wrapped in an element wrapper at the top level of
my XML but further down I do want the collections
wrapped. 
For example:

<AddressList>
   <Person name="John Doe">
      <Addresses>
         <Address street="" etc., />
      </Addresses>
   </Person>
</AddressList>

Is it possible to configure the .betwixt file so that
Address is wrapped while Person is not?

Thanks,
CF 


______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message