switched xml loader to using the Q2API xml module