Add function for applying data to database
Tyop on iterator names, not that it mattered
Add workaround helper functions for dealing with fragments of XML extracted with xpath without local ns definitions;
Start using xpath_fragment* functions for parsing results isolating ugly workaround into a single location
Add proper footers with stability declarations