Wrestling with xmlbeans.