如何在没有标签的情况下从XML字段中提取数据使用ASP.NET [英] How can I Pull Data From An XML Field without tags Using ASP.NET
本文介绍了如何在没有标签的情况下从XML字段中提取数据使用ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
无论如何,我可以在没有标签的情况下在我的xml中显示数据。任何帮助都会有用。以下是我的xml
Is there anyway I can display data in my xml without tags. Any help will be useful. Below is my xml
我想要的是在没有标签的数据库中显示来自xml的数据。无论如何还是设置为 显示没有标签的字段。
What I would like is to display the data from xml in my database without the tags. Is there anyway or setting to display the fields without tags.
推荐答案
论坛ASP.net是@ http://forums.asp.net。 我可以告诉您:是的,您可以,只需读取XML并使用System.Xml命名空间从每个节点的#text子节点中提取数据。
The forums for ASP.net are @ http://forums.asp.net. Up front I can tell you: Yes, you can, just read the XML and extract the data out of the #text child node of each individual node using the System.Xml namespace.
这篇关于如何在没有标签的情况下从XML字段中提取数据使用ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文