上篇文章读了如何通过linq to xml去读取XML文件,而这讲主要通过linq to xml来读取由属性组件的XML文件,例如读取一个web.config的XML格式的配置文件,下面是config文件的部分内容:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Microsoft.Practices.Unity.Configuration" />
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
</configuration>

下面是linq to xml的代码:

            #region LinqtoXML测试2
System.Console.WriteLine("Loading XML data2...");
var dataXml =
(from e in XElement.Load("D:\\config.xml")
.Element("configSections")
.Elements("section")
select new
{
name = (string)e.Attribute("name"),
type = (string)e.Attribute("type"),
}).ToList();
dataXml.ForEach(i => System.Console.WriteLine(i.name + " " + i.type));
#endregion

我们看一下结果:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoMAAACpCAIAAADfpKCgAAAZ0UlEQVR4nO2dS7bbSA5Euf9VcdjDGvR+qgc+VlMJIBDID5OS4g7qUEkwEEBShJ/rST4OIYQQQtzOf//5z7///vvff/5znO+sSLZav0nUnfc2n1UzpKul/lM/0Qrpp1psqtN3eTXLE26ViCkmp5dppbDPUmpXKtVfsYlNxjtvFVBv6ZaIgjvuKyzCSNl4K1gyM16XG18q6rhO4uPSppIJJqzRLG1eFVe82tbqVUvps7TOPPYT5V26BYMZ+3jmrWJXZpmcWCO+bfibKhVfcX/i1FU/iwBJS36i4L436QtXn8QqdKjNqovpM6PjT+IOEykdO9dBpDy+Q3OxdyRp6aD/9HNbk6f7mXUfgmtL/WeSrus2j+th4v08pZ/nBSYREw9M2gtve1/Y9fHU1T7j4+hlFEBqdutEVTA7eF5gdGbVBYzxZR7kJHaLPA3uqchlVMDrOBKP9PkU230e2Y7ivIy+W0iHz41+ouM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04BTdPgv+TyIfSwxpT/jx/aluLJqEjeU4iMnN/OhfYiCq/7TvGR/eKtMf6Jj0Gd3vVkEtqNaqj6BVBpc0j+DNpL1TvSDTTZ+gJmlPpl+Duow4u6ptHaGKf2xVvn4yIm4Mn8SXxm5Fp+6gQ/tQ2S7wwPOS/aHtDriM/Vw/gV7c089rZ9V/V1+SM+Mme0+p9TINx/XW2WwP5FU9Vp8SvRP4tfLF1Z98A5+vdyyhR/RBzepKzWS1wWYWeET6/O1VGOqPhl9F9C0Ef2OelPxO48/xSfwX/IZXX49FZ0Fl/B5QYrBPrxeVkv4BcLPE9uGpveHu+h2H9wBkchAjWU+qA/peqof+WHM4ADs04owqSN9e1VaJhbB4uliX1Ic4JpsDtKigFTqp1QvsFRdX+qT8X+YPvPxfT5tsaAPEaW89kKgRvYBiDD+f4r+79gCO/FTqA9/WN2HX+vzr9UrUpbeBrrf9jL0bZfpn61+BPXhD6v78Gt9/rV6xV50v21E3zsthBBC7ESTWAghhNiJJrEQQgixE01iIYQQYieaxEIIIcRONImFEEKInWgSCyGEEDvRJBZCCCF2okkshBBC7ESTWAghhNiJJrEQQgixE01iIYQQYieaxEIIIcRONImFEEKInWgSCyGEEDvRJBZCCCF2okkshBBC7ESTWAghhNiJJrEQQgixE01iIYQQYieaxEIIIcRONImFEEKInWgSCyGEEDvRJBZCCCF2okkshBBC7ESTWAghhNiJJrEQQgixE01iIYQQYieaxEIIIcROXpP4fydp5kGZKRr2AAAAAElFTkSuQmCC" alt="" />

基本上,对于XML文件的读取也就是两种类型了,下讲我们将会讲一下如何对两种XML文件进行插入。

LinqToXML~读XML文件续的更多相关文章

  1. LinqToXML~读XML文件

    linq的出现,带给我们的是简结,快速,可读性,它由linq to sql,linq to object,linq to XML组成,我的博客之前有对linq to sql的讲解,而今天,我将讲一个l ...

  2. Qt读写三种文件,QSettings读ini配置文件,QJsonDocument读JSON文件,QDomDocument读xml文件

    第一种INI配置文件 .ini 文件是Initialization File的缩写,即初始化文件. 除了windows现在很多其他操作系统下面的应用软件也有.ini文件,用来配置应用软件以实现不同用户 ...

  3. C# 读XML文件

    /// <summary> /// xml文件路径+名称 /// </summary> public void ReadXml(string xmlname) { try { ...

  4. java读XML文件

    XML文件设计为传输和存储数据,其焦点为数据内容. HTML设计为用来显示数据, 其焦点为数据外观. XML仅仅是文本文件,任何文本编辑器一般情况下都能对其进行编辑. XML没有预定义的标签,并且设定 ...

  5. 应用Xml.Linq读xml文件

    c#提供了System.Xml.Linq操作xml文件,非常方便,本文主要介绍如何应用System.Xml.Linq读取xml文件. xml文本 <?xml version="1.0& ...

  6. rapidxml读xml文件

    student.xml文件内容: int readXML(void) { rapidxml::file<> file("student.xml"); rapidxml: ...

  7. 02_Android写xml文件和读xml文件

     新建Android项目 编写AndroidManifest.xml,使本Android项目具有单元测试功能和写外设的权限. <?xml .控制台输出结果

  8. vc 读xml文件 宏

    自定义FOREACH循环,便于coding 在指定xml的nodelist b中遍历每个节点 #define FOREACH_NODE(a,b)\ long cnt = 0; \ CComPtr< ...

  9. python读xml文件

    # -*- coding:utf-8 -*- import jsonimport requestsimport os curpath=os.path.dirname(os.path.realpath( ...

随机推荐

  1. [Node.js] Use "prestart" in scripts

    Usually we run : npm start to start an app, then we we might call other script to do something: npm ...

  2. RHEL-resolv.conf文件修改后重启被还原

    修改resolve.conf文件之后,reboot或service restart network时,修改的内容被还原.关闭NetworkManager即可.# chkconfig |grep Net ...

  3. Sass函数--颜色函数--HSL函数

    HSL函数简介HSL颜色函数包括哪些具体的函数,所起的作用是什么: hsl($hue,$saturation,$lightness):通过色相(hue).饱和度(saturation)和亮度(ligh ...

  4. Java ----------- SQL语句总结(更新中。。。。。。)

    #对数据库的操作 *创建数据库 CREATE DATABASE database_name:database_name为创建的数据库的变量名称. #对表的操作

  5. WebApi实现跨域功能

    在配置文件的system.webServer节点中加入以下配置信息 <httpProtocol> <customHeaders> <add name="Acce ...

  6. .net文件下载方法汇总

    转载自:http://blog.sina.com.cn/s/blog_680942070101ahsq.html //TransmitFile实现下载 protected void Button1_C ...

  7. C# 操作NPOI导入导出

    //把T_Seats中的输入导出到Excel private void button3_Click(object sender, EventArgs e) { //1.读取 string sql = ...

  8. hdu5351 MZL's Border(规律题,java)

    转载请注明出处: http://www.cnblogs.com/fraud/          ——by fraud MZL's Border Time Limit: 2000/1000 MS (Ja ...

  9. [QT]QT概述

    QT概述 基于C++的GUI开发框架,跨平台.Qt 是一个用于桌面系统和嵌入式开发的跨平台应用程序框架. QT是挪威TROLLTECH公司开发的跨平台C++工具,在UNIX下非常出名:他的宗旨是“一次 ...

  10. 一个商品练习的py

    #!/usr/bin/env python # coding=utf-8 # by 星空刺 qian = int(raw_input("请输入当前money:")) gongzi ...