当前位置: 动力学知识库 > 问答 > 编程问答 >

want to export this in xml using jaxb but i am getting only last record two times using arraylist java

问题描述:

I want to export this in xml using jaxb but i am getting only last record two times using arraylist java.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ROWS><row> <name>john</name><id>1</id><city>xyz</city></row> <row> <name>monu</name><id>2</id><city>abc</city></row> </rows>

分享给朋友:
您可能感兴趣的文章:
随机阅读: