Refactored xmltietokanta