library xml optimize