Further works on XML db