If the listElement
element really represents null then it should be sent as follows:
<listElement xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
Doing any sort of special handling is ultimately going to cause you trouble.