When using XStream, I get am empty tag(on the collection field) if I try to serialise an Object has java.util.List collection which is empty. How to I remove that empty tag ...
java.util.List
I currently use a piece of XML like the following
<Person> <Name>Frank Smith</Name> <Id>100023412</Id> <DOB>12/05/1954</DOB> <LasLogin>01/09/2010</LasLogin> <FavOS>Windows</FavOS> ...
I have the following XML file
<?xml version="1.0"?> <paths> <path action="M">some/path</path> <path action="D">another/path</path> </paths>
public class Paths { ...