xml parsed before csv