check xml