That's because your xml is incorrectly formatted. I see that tag OTA_HotelAvailRS isn't closed.
You can try save it in test.xml file and open in IE. You will see the reason. When your xml will be opened correctly in browser - you can use it with your xml2array function.
发布评论
评论(1)
那是因为你的xml格式不正确。我发现标签
OTA_HotelAvailRS
未关闭。您可以尝试将其保存在 test.xml 文件中并在 IE 中打开。你会看到原因。
当您的 xml 在浏览器中正确打开时 - 您可以将其与
xml2array
函数一起使用。That's because your xml is incorrectly formatted. I see that tag
OTA_HotelAvailRS
isn't closed.You can try save it in test.xml file and open in IE. You will see the reason.
When your xml will be opened correctly in browser - you can use it with your
xml2array
function.