XML backend nearly working (nearly ready).