Title: Messaggio
Hi,
I have a problem.
 
I have this XML code :
 
<PAGE>
    <DAY>
        <NUMBER>05</NUMBER>
        <DATE>2002-03-17</DATE>
    <DAY>
......
 
 
 
I have the object Page that has 2 fields , number and date, but I haven't
the ogject Day.
 
How can I write the mapping file?
 
<mapping>
   <class name="Page">
      <map-to xml="PAGE"/>
       
      <field name="date" type="java.lang.String">
         <bind-xml name="??????" />
      </field>
 
      <field name="number" type="java.lang.String">
         <bind-xml name="???" />
      </field>
Thanks...
 
 
Damiano Pezzotti
........................................
Software Architect | Alambitco
tel +39 333 2116258
fax +39 02 700432209
email [EMAIL PROTECTED]
web www.alambitco.com
pgp public key
 

Reply via email to