It looks to me like you're having an issue with the way JAXB generates classes based on the schema. I'm going to move this into our XML forum, and enhance your subject line a bit for clarity.
posted 3 years ago
For each ValueType object you've got (I suppose you have arrived at that stage no problem from the wording of your question), you can do this to get all the data you seem to be interested in retrieving.
Since it is of mixed content type, the empty string (after trim()) will be picked up as well if there really isn't any text node directly under value tag. You just have to screen the data further as needed.