Finished adding xmlbeans mapping. Needs lots of testing though.