java 解析xml文件遇到这种结构怎么解析
<?xml version="1.0" encoding="UTF-8"?>

<data> 
  <channel id="Sportv3.br"> 
    <display-name>SPORTV 3 HD</display-name> 
  </channel>  
  <channel id="Sportv2.br"> 
    <display-name>SPORTV 2 FULLHD</display-name> 
  </channel>  

  <programme start="20190721050000 -0300" stop="20190721070000 -0300" channel="Sportv3.br"> 
    <title>VT de Eventos</title>  
    <desc>Bunnicula e sua gangue, os "Bunny Boyz", se aventuram em Nova Orleans para recuperar as orelhas roubadas dele.</desc> 
  </programme>  
  <programme start="20190721070000 -0300" stop="20190721100500 -0300" channel="Sportv2.br"> 
    <title>VT de Eventos</title>  
    <desc>Bunnicula e sua gangue, os "Bunny Boyz", se aventuram em Nova Orleans para recuperar as orelhas roubadas dele.</desc> 
  </programme>  
    </data>

有大佬知道怎么解析这样的结构吗

tiankongzhichenglyf
tkzc_shark 别人回答不采纳,声望都成负的了
8 个月之前 回复

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问