how to xstream to xml serialization of java object?

ramadan

New Member
I have a java application and it produces xml output like: I have tried many things but no luck yet. \[code\]<remittances><remittance><financialData_priAmnt_curr>a</financialData_priAmnt_curr><financialData_priAmnt_val>a</financialData_priAmnt_val><status_dateCreated>a</status_dateCreated><status_errorCode>a</status_errorCode><status_statusCode>a</status_statusCode><supplementaryData_key>a</supplementaryData_key><supplementaryData_value>a</supplementaryData_value><transactionId>a</transactionId><transactionType>a</transactionType></remittance></remittances>\[/code\]but I want show this in more formatted way.like:\[code\] <person> <firstname>Joe</firstname> <lastname>Walnes</lastname> <phone> <code>123</code> <number>1234-456</number> </phone> <fax> <code>123</code> <number>9999-999</number> </fax></person>\[/code\]
 
Back
Top