Best way to get database result as XML?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-06-07T16:27:18Z Indexed on 2010/06/07 16:32 UTC
Read the original article Hit count: 465

Filed under:
|
|

I am querying a database and getting the result set as an arraylist. I would like to return this list as XML, but not sure how to do it.

Does anyone have an example of returning a result set as XML and is using an Arraylist the best way to do this?

© Stack Overflow or respective owner

Related posts about java

Related posts about Xml