Hi,

   I have Java Classes that contain "Hashtable".

a) How do I write a mapping.xml to map both the key
and value of a Hashtable?

b) Any recommended way to write the XML instace file
to reprsent Hashtable: 
   . The key should be an attribute and the value the
nodeValue For example:
     For a person named DKV who is of age 23:   
     <Person name="DKV">23</Person>

 or

   . <Person>
      <name> DKV </name>
      <age> 23 </age>
     </Person>


I have to find a solution for exsiting "working" code
and I am new to castor. Please help. The examples do
not talk about Hashtable - only "collection/List". I
could also not find any answer in the archives.

Thanks,
DKV

PS) If this cannot be done then any workaround?

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to