How to parse XML

來源: cashout 2009-10-14 17:09:54 [] [博客] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (703 bytes)
I am new to XML. How to parse XML into csv file or database file?

Can I just simple read each line of XML file and parse the elements for the same Employee into one record by comparing the text?

thanks,




Seagull
3674
34


Robin
3675
25


Crow
3676
28

所有跟帖: 

XMLspy can do it for you. come in... -九陽- 給 九陽 發送悄悄話 九陽 的博客首頁 (41 bytes) () 10/14/2009 postreply 18:29:36

thanks, Can XMLspy work in batch process? -Cashout- 給 Cashout 發送悄悄話 Cashout 的博客首頁 (200 bytes) () 10/14/2009 postreply 21:21:01

If you are talking about writing some code -沙漠荒野- 給 沙漠荒野 發送悄悄話 (58 bytes) () 10/14/2009 postreply 20:54:14

Thanks, I would like to create a batch process to cnvert XML to -CashOut- 給 CashOut 發送悄悄話 CashOut 的博客首頁 (121 bytes) () 10/14/2009 postreply 21:52:21

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”