The kxml project means a lot for j2me. I have done some modification to make a document serializable in Recordstore. Here is the code. You can follow the usage examples in the code to make it work for you.
To use this code you just need to get the code from trunk. The obfuscator will skip the classes you do not use.