+ -
当前位置:首页 → 问答吧 → 为什么这个xml文档格式不良?

为什么这个xml文档格式不良?

时间:2011-01-19

来源:互联网

XML code

<?xml version="1.0" encoding="utf-8"?><response>
    <recipes><recipe id="60214"><name>金沙玉米</name><thumbnail>http://ww.com</thumbnail><author>简单、平淡 ._Sweetゝ</author><major>玉米粒 300克;咸蛋黄 3个</major><minor>淀粉 100克左右;料酒 2茶匙(10ml);油 适量</minor></recipe></recipes>
</response>


xmlspy报错:character #x000E is grammatically unexpected

作者: mylzc   发布时间: 2011-01-19

XML code

<?xml version="1.0" encoding="utf-8"?>
<response>
 <recipes>
  <recipe id="60214">
   <name>金沙玉米</name>
   <thumbnail>http://ww.com</thumbnail>
   <author>简单、平淡 ._Sweetゝ</author>
   <major>玉米粒 300克;咸蛋黄 3个</major>
   <minor>淀粉 100克左右;料酒 2茶匙(10ml);油 适量</minor>
  </recipe>
 </recipes>
</response>


你自己看就能发现!

作者: uself   发布时间: 2011-01-19

引用 1 楼 uself 的回复:

XML code

<?xml version="1.0" encoding="utf-8"?>
<response>
<recipes>
<recipe id="60214">
<name>金沙玉米</name>
<thumbnail>http://ww.com</thumbnail>
<author>简单、平淡 ._Sweetゝ</author>
<majo……

我怎么感觉没什么问题

作者: fengyarongaa   发布时间: 2011-01-19