读取xml文件中的节点 [英] read node in xml file
本文介绍了读取xml文件中的节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
如何从xml中的4个节点读取特定节点并将其元素存储在数据集或arraylist中.
Thanks
hi guys,
how can i read a specific node from 4 node in xml and store its element in dataset or arraylist.
thanks
推荐答案
您可能想研究XLINQ.从这里开始:
使用LINQ读取XML文档 [ .NET语言集成的XML数据查询 [ 101个LINQ示例 [
You might want to look into XLINQ. Start here:
Reading XML documents using LINQ[^]
.NET Language-Integrated Query for XML Data[^]
These are not LINQ to XML (or XLINQ) specific, but give you a lot of examples using LINQ in general:
101 LINQ Samples[^]
我将开始阅读文档: [
I would start reading the documentation: "Using the XmlReader Class"[^].
这篇关于读取xml文件中的节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文