discuss.answer
one easy way to create your package and basic xml-schema from existing table(s) is to use MIGXs package-management-feature.
once installed correctly, there is a button 'create package' and 'write schema'
I would give your existing tables a unique prefix other than modx_ before writing the schema.
Then change your custom-prefix back to the default-prefix of modx_ and click the button 'parse schema' and you should be done.
This is the way I do this stuff. Takes minutes to create a new xpdo-package this way.
I tried that but it says I have to specify a parent action. There's no mention of language-tpoics or anything either.
Nevermind. I left it blank. That's not the same thing.
check if your package and xpdo-classes and map-files really are created, since the processors of this feature allways return a 'success' - message.
if all went well, you should be able to use your new created xpdo-classes now.
Here is another easy way:
http://bobsguides.com/custom-db-tables.html. It will create the schema and the class and map files for you.