慈心積善融學(xué)習(xí),技術(shù)愿為有情學(xué)。善心速造多好事,前人栽樹后乘涼。我今于此寫經(jīng)驗,愿見文者得啟發(fā)。
xml file - 正確的文件
<?xml version="1.0" encoding="utf-8"?> <cultures> <taoists count="100" comment="good-t"> <book> <name>道德經(jīng)</name> <author>老子</author> </book> <book> <name>文始真經(jīng)</name> <author>關(guān)尹子</author> </book> </taoists> <buddhism count="321" comment="good-d"> <book> <name>金剛經(jīng)</name> <author>釋迦牟尼</author> </book> <book> <name>地藏菩薩本愿經(jīng)</name> <author>地藏</author> </book> </buddhism> </cultures>
-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
使用瀏覽器進(jìn)行校驗
xml file - 錯誤的
<?xml version="1.0" encoding="utf-8"?> <cultures> <taoists count="100 comment="good-t" <book> <name>道德經(jīng)</name> <author>老子</author> </book> <book> <na>文始真經(jīng)</name> <author>關(guān)尹子</author> </book> </taoists> <buddhism count="321" comment="good-d"> <book> <name>金剛經(jīng)</name> <author>釋迦牟尼</author> </book> <book> <name>地藏菩薩本愿經(jīng)</name> <author>地藏</author> </book> </buddhism> </cultures>
-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
使用瀏覽器進(jìn)行校驗
感想
xml文件挺常用的,用程序自動生成的xml文件最好,引號和尖括號等標(biāo)點符號肯定是全的。把事情交給擅長它的人去做。知人善任!
藍(lán)藍(lán)設(shè)計( www.devb.cn )是一家專注而深入的界面設(shè)計公司,為期望卓越的國內(nèi)外企業(yè)提供卓越的UI界面設(shè)計、BS界面設(shè)計 、 cs界面設(shè)計 、 ipad界面設(shè)計 、 包裝設(shè)計 、 圖標(biāo)定制 、 用戶體驗 、交互設(shè)計、 網(wǎng)站建設(shè) 、平面設(shè)計服務(wù)