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”