I'm not a big tool maker myself, so I'd like to ask for some assistance from those who have more experience with this.
I'm willing to write a dropcalculator for our server. The main problem I have with it is that all items are in xml's, thus, normal PHP SQL queries cannot reach it.
The resolution a friend of mine had for this (but had quit from assisting already

However, the sql that was created with this method is now wastly outdated and I do not have the creator tool myself.
Can anybody assist me with this?
Thanks!