java library to generate xml and java