first sketch for XMLProcessor and cleanup.