Is there an easy way to convert a collection (vector) to xml ?
Thanks
Manish
-
Converting collection (vector) as xml ? (1 messages)
- Posted by: Manish R
- Posted on: April 04 2003 15:13 EST
Threaded Messages (1)
- Converting collection (vector) as xml ? by Lasse Koskela on April 06 2003 13:30 EDT
-
Converting collection (vector) as xml ?[ Go to top ]
- Posted by: Lasse Koskela
- Posted on: April 06 2003 13:30 EDT
- in response to Manish R
It shouldn't be too difficult to write your own "VectorToProprietaryXmlGenerator" class, which loops through the Vector and writes corresponding XML elements to some sink (OutputStream, StringBuffer, whatever). Have you checked out Sun's JAXB specification?