以下是XML格式文本,
我想取出所有 opentime,opencode,expect 的值,但是我是新手,XML还是第一次用,完全没有头绪,
希望各位朋友帮忙写个例子! 在下感激不尽!
<?xml version="1.0" encoding="UTF-8"?>
-<xml>
< row opentime="2013-5-14 0:05:00" opencode="7,0,2,9,3" expect="130514001"/>
< row opentime="2013-5-14 0:10:00" opencode="9,2,5,2,5" expect="130514002"/>
< row opentime="2013-5-14 0:15:00" opencode="2,5,4,6,0" expect="130514003"/>
< row opentime="2013-5-14 0:20:00" opencode="5,1,8,8,2" expect="130514004"/>
< row opentime="2013-5-14 0:25:00" opencode="6,8,0,2,2" expect="130514005"/>
< row opentime="2013-5-14 0:30:00" opencode="0,6,0,5,9" expect="130514006"/>
< row opentime="2013-5-14 0:35:00" opencode="0,1,6,3,8" expect="130514007"/>
< row opentime="2013-5-14 0:40:00" opencode="7,6,9,5,4" expect="130514008"/>
< row opentime="2013-5-14 0:45:00" opencode="4,1,8,6,9" expect="130514009"/>
< row opentime="2013-5-14 0:50:00" opencode="0,2,9,3,8" expect="130514010"/>
< /xml> |