Hi Michael
I am using XStream to serialize my business object to XML. As per the default implementation with XStream the members who have null values are output as blank XML elements, however my requirement is that such elements should not come in the XML at all. Can i achieve this by setting some custom property. I do not want my XML to be containing extra tags even if the Object contains some member variables which are set to null. I hope you get my question. Thanks for your help in advance. If you are not the right person to answer this query please let me know where can i get response to my query. |