Connecting Tech Pros Worldwide Help | Site Map

JAXB marshall object with null date field to blank xml element

  #1  
Old October 24th, 2008, 11:35 AM
sai krishna
Guest
 
Posts: n/a
Hi All, Here is the issue

java object has date fields that are null, I need to marshal an xml
using jaxb, but jaxb doesn't allow null values when it marshal's.
Is there any way to tell jaxb that whenever a particular date field is
null put a blank in xml?
Closed Thread