Is there an easy way to convert a collection (vector) to xml ?
- Posted by: Manish R
- Posted on: April 04 2003 15:13 EST
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?