为什么这不解析xml? [英] Why does this not parse xml?

查看:81
本文介绍了为什么这不解析xml?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里是示例xml:

展开 | 选择 | Wrap | 行号

解决方案

尝试SimpleXML:

http:// us2 .php.net / manual / en / functio ... oad-string.php


你有一个基本的语法错误,就是全部。

错误消息指向错误的位置(可能是上面一行),即第6行。

在提供的代码中不明显


代码绿色,我没有看到它?


Here''s the sample xml:

Expand|Select|Wrap|Line Numbers

解决方案

Try SimpleXML:

http://us2.php.net/manual/en/functio...oad-string.php


You have a basic syntax error, that is all.
The error mesage points to where the error is (possibly the line above), which is line 6.
It is not obvious in the code supplied


Code Green, I don''t see it?


这篇关于为什么这不解析xml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆