If you know what you want the XML for a single result to look like, just write it with print statements. No need to get complicated, faster, under your direct control, whats not to like? Bill
Joined: Jul 14, 2005
Hi I need to send this XML in a web service to a none java client. do you have other suggestion for transfering a result set to a none java client ? I think best way is to serialize it to an xml document anf then transform that document to client side. Client must recive XML data , nothing else.
Serializing a complete resultset to XML will return a very big and hard to process XML file. in case that you need the Data that a ResultSet carry , then try to extract the data and create an xml from your Data itself , not from ResultSet.