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

XML 格式的數(shù)據(jù)既便于機器讀取,也便于人工讀取。
xml 格式說明:
Tag: 使用<和>包圍的部分;
Element:被Tag包圍的部分,如 2003,可以認(rèn)為是一個節(jié)點,它可以有子節(jié)點;
Attribute:在Tag中可能存在的 name/value 對,如示例中的 title="Enemy Behind",一般表示屬性。
2、實例
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ù)的介紹,希望對大家有所幫助。更多Python學(xué)習(xí)指路:創(chuàng)新互聯(lián)python教程
本文教程操作環(huán)境:windows7系統(tǒng)、Python 3.9.1,DELL G3電腦。
當(dāng)前標(biāo)題:創(chuàng)新互聯(lián)Python教程:pythonXML數(shù)據(jù)是什么
地址分享:http://m.fisionsoft.com.cn/article/coddghp.html


咨詢
建站咨詢
