File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Create XML string From Arraylist in Java
Joined: Jul 30, 2013
Jul 31, 2013 00:17:43
I want to create an XML
from data retrieved from the database in a
Can I do so by using Collection
If yes then how?
Joined: Jul 29, 2008
Jul 31, 2013 00:59:30
Yes, and it doesn't matter if it is an
or any other data structure populated with the contents you want to write to XML. Read
for a list of APIs you can use to read/write XML contents.
Author of ExamLab
- a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like?
How to Ask a Question
Author and all-around good cowpoke
Joined: Mar 22, 2000
Jul 31, 2013 07:21:18
Recall that XML is just text with a strict format requirement so you can create an XML document with simple println() statements if you want to.
I agree. Here's the link:
subject: Create XML string From Arraylist in Java
How do you create an array of typesafe-collections?
JDOM - need help ... simple problem driving me insane
Doubts regarding ArrayLists
Java and XSLT
ArrayList of ArrayList<String>
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015