java,求此xml文件的dom4j遍历
<?xmlversion="1.0"encoding="UTF-8"?><ShowList><Movie><Name>非常完美</Name><Poster>非常完美.jp...
<?xml version="1.0" encoding="UTF-8"?>
<ShowList>
<Movie>
<Name>非常完美</Name>
<Poster>非常完美.jpg</Poster>
<Director>阴萌</Director>
<Actor>章子怡、范冰冰、何振东</Actor>
<Type>Romance</Type>
<Price>60</Price>
<Schedule>
<Item>9:00</Item>
<Item>13:00</Item>
</Schedule>
</Movie>
<Movie>
<Name>风声</Name>
<Poster>风声.jpg</Poster>
<Director>陈国富</Director>
<Actor>周迅、李冰冰、黄晓明</Actor>
<Type>Adventure</Type>
<Price>60</Price>
<Schedule>
<Item>11:20</Item>
<Item>15:45</Item>
<Item>19:25</Item>
</Schedule>
</Movie>
<Movie>
<Name>窃听风云</Name>
<Poster>窃听风云.jpg</Poster>
<Director>麦兆辉/庄文强</Director>
<Actor>刘青云、吴彦族、古天乐</Actor>
<Type>Action</Type>
<Price>70</Price>
<Schedule>
<Item>21:00</Item>
<Item>23:10</Item>
</Schedule>
</Movie>
<Movie>
<Name>非诚勿扰</Name>
<Poster>非诚勿扰.jpg</Poster>
<Director>冯小刚</Director>
<Actor>舒淇、葛优</Actor>
<Type>Romance</Type>
<Price>70</Price>
<Schedule>
<Item>17:30</Item>
</Schedule>
</Movie>
</ShowList> 展开
<ShowList>
<Movie>
<Name>非常完美</Name>
<Poster>非常完美.jpg</Poster>
<Director>阴萌</Director>
<Actor>章子怡、范冰冰、何振东</Actor>
<Type>Romance</Type>
<Price>60</Price>
<Schedule>
<Item>9:00</Item>
<Item>13:00</Item>
</Schedule>
</Movie>
<Movie>
<Name>风声</Name>
<Poster>风声.jpg</Poster>
<Director>陈国富</Director>
<Actor>周迅、李冰冰、黄晓明</Actor>
<Type>Adventure</Type>
<Price>60</Price>
<Schedule>
<Item>11:20</Item>
<Item>15:45</Item>
<Item>19:25</Item>
</Schedule>
</Movie>
<Movie>
<Name>窃听风云</Name>
<Poster>窃听风云.jpg</Poster>
<Director>麦兆辉/庄文强</Director>
<Actor>刘青云、吴彦族、古天乐</Actor>
<Type>Action</Type>
<Price>70</Price>
<Schedule>
<Item>21:00</Item>
<Item>23:10</Item>
</Schedule>
</Movie>
<Movie>
<Name>非诚勿扰</Name>
<Poster>非诚勿扰.jpg</Poster>
<Director>冯小刚</Director>
<Actor>舒淇、葛优</Actor>
<Type>Romance</Type>
<Price>70</Price>
<Schedule>
<Item>17:30</Item>
</Schedule>
</Movie>
</ShowList> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询