c#中操纵XML文件

来源:互联网 发布:进出口数据查询 编辑:程序博客网 时间:2024/05/10 06:21
來源:http://blog.csdn.net/icycoffee/archive/2007/08/10/1735518.aspx
using System;
using System.Xml;
using System.Web;
namespace MX.XML
{
    
/// <summary>
    
/// XML核心类:
    
/// 必需用XPath表达式来获取相应节点
    
/// </summary>

    public class Core
    
{
        
变量-----------------------------------------------------------

        
属性-----------------------------------------------------------

        
构造函数-------------------------------------------------------

        
获取所有指定名称的节点

        
读取指定节点的指定属性值---------------------------------------

        
读取指定节点的值-----------------------------------------------

        
设置节点值-----------------------------------------------------

        
设置节点的属性值-----------------------------------------------

        
添加-----------------------------------------------------------

        
删除-----------------------------------------------------------

        
XML文档事件----------------------------------------------------

        
保存XML文件----------------------------------------------------
    }

}