且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在PHP中使用命名空间解析XML数据

更新时间:2023-11-17 13:14:40

弄清楚问题出在XML提要而不是代码:

Figured out the issue was with the XML feed rather than code:

XML feed缺少此行:

XML feed was missing this line:

<r25:events xmlns:r25="http://www.collegenet.com/r25" xmlns:xl="http://www.w3.org/1999/xlink" pubdate="2010-05-19T13:58:08-04:00">

不过感谢您的帮助.