Clean up nxml config