Hi !!
 
    I am glad some one replied !!
    I have gone through that site... i have written maping files.
    but in this case i want to display tags in the XML having the same name "ID"
    is this possible in castor ? In case i have to make any modification
    to the VO... i can do that too.....
 
    My VO looks as below :
 
 public class SERVICE_RESPONSE  {
 
 private List TransactionIDs; 
/ * @return Returns the transactionIDs.
  */
 public List getTransactionIDs() {
  return TransactionIDs;
 }
 /**
  * @param transactionIDs The transactionIDs to set.
  */
 public void setTransactionIDs(List transactionIDs) {
  TransactionIDs = transactionIDs;
 }
}
 


Werner Guttmann <[EMAIL PROTECTED]> wrote:
Shalni,
 
what do your classes look like ? ANd you migth want to have a quick look at http://castor.codehaus.org/xml-framework.html for an introduction to what you are trying to achieve.
 
Werner
-----Original Message-----
From: Shalni Kumar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 07, 2005 10:45 AM
To: dev@castor.codehaus.org
Subject: [castor-dev] Tags with same names in XML

Hi !!!

I need to generate a  xml output as follows using the Castors Marshaller.

Please give me tips on how to write the mapping file for this.

Find below the XML.

< SERVICE_RESPONSE>

                                    < ID>100</ ID>

                                    < ID>200</ ID>

                                    < ID>300</ ID>

                                        -

                                        - 

</SERVICE_RESPONSE>

 

Hoping to get some response !!!!

Thanks & Regards

Shalini

 

 

 


Discover Yahoo!
Find restaurants, movies, travel & more fun for the weekend. Check it out!

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to