I am receiving XML from a server whose schema specifies nearly every element as:\[code\]<xs:element name="myStringElementName" type="xs:string" nillable="true" minOccurs="0"/><xs:element name="myIntElementName" type="xs:int" nillable="true" minOccurs="0"/>\[/code\]I'm trying to find a clean way to convert every element that I receive that is marked as \[code\]xsi:nil="true"\[/code\] to a null when it is unmarshalled into a JAXB object. So something like this:\[code\]<myIntElementName xsi:nil="true" />\[/code\]Should result in my JAXB object having a \[code\]myIntElementName\[/code\] property with a value of null, rather than a \[code\]JAXBElement\[/code\] object with a nil property set to true (or anything along those lines). I don't have any control over the system that is sending me the XML that uses the \[code\]nillable\[/code\] attribute, so I need to convert this on my end when I receive it.