现在的位置: 首页 > 综合 > 正文

笑话xml结构

2013年07月02日 ⁄ 综合 ⁄ 共 1965字 ⁄ 字号 评论关闭

第一种方式:

<?xml version="1.0" encoding="UTF-8"?>

<root>
  <one_title one_id="1">
      <two_title one_id="1" two_id="1" content="标题1">
          <three_title one_id="1" two_id="1" three_id="1" content="标题1_1" isReed="false">
                  ddddddddddddddddddddd
                  dddddddddddddddddddd
                  ddfdf234343
          </three_title>
          
          <three_title one_id="1" two_id="1" three_id="2" content="标题1_2" isReed="false">
                  ddddddddddddddddddddd
                  dddddddddddddddddddd
                  ddfdf234343
          </three_title>
      </two_title>
      
      <two_title one_id="1" two_id="2" content="标题2">
          <three_title one_id="1" two_id="2" three_id="1" content="标题2_1" isReed="false">
                  ddddddddddddddddddddd
                  dddddddddddddddddddd
                  ddfdf234343
          </three_title>
          
          <three_title one_id="1" two_id="2" three_id="2" content="标题2_2" isReed="false">
                  ddddddddddddddddddddd
                  dddddddddddddddddddd
                  ddfdf234343
          </three_title>
      </two_title>
  </one_title>

</root>

第二中方式:

<?xml version="1.0" encoding="UTF-8"?>
<root>
  <one one_id="1" one_title="标题1">
      <two two_id="1" two_title="标题1_1"  two_isRead="false">
          <three three_id="1" three_title="标题1_1_1">
               <three_content>
                       大幅度开发打开是浪费上的浪费的说法但是f
                       打飞机打开放到幅度来看房数量大幅吊梨试佛
                       力度及反对浪费多浪费
                       电缆附件多浪费多浪费
                       大方科技大开发电费 kdjfd
                       肯定积分多浪费
               </three_content>
          </three>
      </two>
  </one>
 
  <one one_id="2" one_title="标题2">
      <two two_id="1" two_title="标题2_1"  two_isRead="false">
          <three three_id="1" three_title="标题2_1_1">
               <three_content>
                       大幅度开发打开是浪费上的浪费的说法但是f
                       打飞机打开放到幅度来看房数量大幅吊梨试佛
                       力度及反对浪费多浪费
                       电缆附件多浪费多浪费
                       大方科技大开发电费 kdjfd
                       肯定积分多浪费
               </three_content>
          </three>
      </two>
  </one>
</root>

对象属性:

joke{
one_id
one_title
two_id
two_title
two_isRead
three_id
three_title
three_content
}

抱歉!评论已关闭.