新聞中心
這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷(xiāo)解決方案
創(chuàng)新互聯(lián)Python教程:pythonXML數(shù)據(jù)是什么
1、概念

XML 格式的數(shù)據(jù)既便于機(jī)器讀取,也便于人工讀取。
xml 格式說(shuō)明:
Tag: 使用<和>包圍的部分;
Element:被Tag包圍的部分,如 2003,可以認(rèn)為是一個(gè)節(jié)點(diǎn),它可以有子節(jié)點(diǎn);
Attribute:在Tag中可能存在的 name/value 對(duì),如示例中的 title="Enemy Behind",一般表示屬性。
2、實(shí)例
War, Thriller DVD 2003 PG 10 Talk about a US-Japan war Anime, Science Fiction DVD 1989 R 8 A schientific fiction Anime, Action DVD 4 PG 10 Vash the Stampede! Comedy VHS PG 2 Viewable boredom
以上就是python XML數(shù)據(jù)的介紹,希望對(duì)大家有所幫助。更多Python學(xué)習(xí)指路:創(chuàng)新互聯(lián)python教程
本文教程操作環(huán)境:windows7系統(tǒng)、Python 3.9.1,DELL G3電腦。
網(wǎng)站欄目:創(chuàng)新互聯(lián)Python教程:pythonXML數(shù)據(jù)是什么
文章鏈接:http://www.dlmjj.cn/article/coddghp.html


咨詢(xún)
建站咨詢(xún)
