Thanks! I will give that a try. -----Original Message----- From: Keith Visco [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 2:44 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] XML: Nested/wrapper element support now available...
Hi Christine, I checked the code into the CVS on Wednesday, I believe. So I recommend trying the latest CVS version (http://castor.exolab.org/cvs.html). You'll need to use CVS, because unfortunately the cron job for the daily zip file hasn't been reactivated since the crash (I just noticed that), we'll try to get that back online soon. Thanks, --Keith "Rodriguez, Christine" wrote: > > Hi Keith, > > I downloaded the zip file from the Castor site on Monday last week to try > this new feature. > > Here is the mapping I am trying: > > <class name="com.adp.base.dataload.PrimaryParticipant"> > <map-to xml="Participant"/> > <field name="clientDefinedId" type="java.lang.String"> > <bind-xml name="IdValue" location="ParticipantId"/> > </field> > <field name="participantTypeDate" type="date"> > <bind-xml name="StartDate" > location="ParticipantType"/> > </field> > </class> > > Here is the XML data: > > <Participant> > <ParticipantId> > <IdValue>12345</IdValue> > </ParticipantId> > <ParticipantType> > <ParticipantTypeCode>1</ParticipantTypeCode> > <StartDate>1999-05-01T12:00:00.000</StartDate> > </ParticipantType> > </Participant> > > Class looks like this: > > public class PrimaryParticipant implements { > > private Date participantTypeDate; > private String clientDefinedId; ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
