Preparing network availability hander concerning xml