当前位置: 代码迷 >> Web Service >> 求指导。在做一个webserver 供app调用数据,现在思路不是很清楚该干什么了
  详细解决方案

求指导。在做一个webserver 供app调用数据,现在思路不是很清楚该干什么了

热度:155   发布时间:2016-05-02 02:26:50.0
求指点。在做一个webserver 供app调用数据,现在思路不是很清楚该干什么了
一个app 调用我网站的产品数据,我生成了 一个 xml 文件用来供app调用
这是xml文件
<?xml version="1.0" encoding="utf-8"?>
<root>
  <product id="54">
    <name>【推荐】加拿大原装进口冰酒 伏特加·冰酒·马提尼洗涤你的灵魂</name>
    <id>54</id>
    <price>0</price>
    <spgg>
    </spgg>
    <spbg>加拿大原装进口</spbg>
    <spzt>1</spzt>
    <img1>files/0TNJE1.jpg</img1>
    <img2>files/P17GBQ.jpg</img2>
    <img3>files/C633NL.jpg</img3>
    <img4>files/99TP31.jpg</img4>
    <img5>files/OUIW8L.jpg</img5>
    <img6>files/IAFQSM.jpg</img6>
    <img7>
    </img7>
  </product>
  <product id="51">
    <name>【推荐】世界首款负离子混血儿植物汤茶 美国FDA首款植物茶</name>
    <id>51</id>
    <price>268</price>
    <spgg>
    </spgg>
    <spbg>90克(15*6克)</spbg>
    <spzt>1</spzt>
    <img1>files/AIKQK2.jpg</img1>
    <img2>files/E04HAG.jpg</img2>
    <img3>files/R2H43J.jpg</img3>
    <img4>files/OOFRXM.jpg</img4>
    <img5>files/DONSM4.jpg</img5>
    <img6>files/BTRTYU.jpg</img6>
    <img7>files/YU3RHK.jpg</img7>
  </product>
  <product id="48">
    <name>【推荐】徒河黑猪排骨礼盒 肌红蛋白含量高、亚油酸含量高</name>
    <id>48</id>
    <price>298</price>
    <spgg>
    </spgg>
    <spbg>排骨礼盒</spbg>
    <spzt>1</spzt>
    <img1>files/P0MBW4.jpg</img1>
    <img2>files/5DT474.jpg</img2>
    <img3>files/7USA1U.jpg</img3>
    <img4>files/LTTTK6.jpg</img4>
    <img5>files/V7PKV5.jpg</img5>
    <img6>files/HMF9YW.jpg</img6>
    <img7>files/GFFKVB.jpg</img7>
  </product>
  <product id="46">
    <name>【推荐】家用空调专用清洗液 杀菌除臭防疾病</name>
    <id>46</id>
    <price>69</price>
    <spgg>
    </spgg>
    <spbg>400ml/瓶</spbg>
    <spzt>1</spzt>
    <img1>files/TQD5O4.jpg</img1>
    <img2>files/LW7V6Q.jpg</img2>
    <img3>files/UPE62V.jpg</img3>
    <img4>files/0CO6TC.jpg</img4>
    <img5>files/NATJ6D.jpg</img5>
    <img6>files/UEEDNH.jpg</img6>
    <img7>files/OGLUW9.jpg</img7>
  </product>
  <product id="45">
    <name>【推荐】家居用清洁液 去污、杀菌、去静电、除异味</name>
    <id>45</id>
    <price>69</price>
    <spgg>
    </spgg>
    <spbg>加电水/NO:1号</spbg>
    <spzt>1</spzt>
    <img1>files/8SWAPJ.jpg</img1>
    <img2>files/JKRXK1.jpg</img2>
    <img3>files/EC4BD6.jpg</img3>
    <img4>files/7SB18F.jpg</img4>
    <img5>files/R73V9M.jpg</img5>
    <img6>files/NHYABI.jpg</img6>
    <img7>files/U8GIO6.jpg</img7>
  </product>
  <product id="44">
    <name>【推荐】全民付A30 MINI型POS终端 快捷支付 便利生活</name>
    <id>44</id>
    <price>698</price>
    <spgg>
    </spgg>
    <spbg>A30 MINI</spbg>
    <spzt>1</spzt>
    <img1>files/JFGC0J.jpg</img1>
    <img2>files/NIENSE.jpg</img2>
    <img3>files/Q7WMK1.jpg</img3>
    <img4>files/11GKP6.jpg</img4>
    <img5>files/IRNJF5.jpg</img5>
    <img6>files/LBX8LY.jpg</img6>
    <img7>