易截截图软件、单文件、免安装、纯绿色、仅160KB

XML的创建

       声明
        /// <summary>
        /// XML文档
        /// </summary>
        XmlDocument xmldoc;
        /// <summary>
        /// XML节点
        /// </summary>
        XmlNode xmlnode;
        /// <summary>
        /// XML元素
        /// </summary>
        XmlElement xmlelem;
        XmlElement xmlelem2;
        XmlElement xmlelem3;
        /// <summary>
        /// XML内容
        /// </summary>
        XmlText xmltext;
        /// <summary>
        /// 基本路径(个人文件夹管理XML)
        /// </summary>
        public static string basicPath = ControlsClass.GetPath(true) + "\\temp\\XMLFile.xml";
                      if (!File.Exists(basicPath))
                        {
                            //创建声明
    &n


相关文档:

gloox xml的解析模块

gloox自己实现了xml的解析模块,没有用到第三方的库(tinyXML,expat )
主要涉及的文件:
tag.h (tag.cpp)
taghandler.h
parser.h (parser.cpp)
1. Tag一个Tag就是一个XML元素
例如:
a.
<book kind='computer'>
<store id='23'/>
<author>
    qiang
</author>
</bo ......

XML的简单读取与写入

已知有一个XML文件(bookstore.xml)如下:
<?xml version="1.0" encoding="gb2312"?>
<bookstore>
<book genre="fantasy" ISBN="2-3631-4">
<title>Oberon's Legacy</title>
<author>Corets, Eva</author>
<price>5.95</price>
</book>
</booksto ......

XML解析方法讲解

XML现在已经成为一种通用的数据交换格式,它的平台无关性,语言无关性,系统无关性,给数据集成与交互带来了极大的方便。对于XML本身的语法知识与技术细节,需要阅读相关的技术文献,这里面包括的内容有DOM(Document Object Model),DTD(Document Type Definition),SAX(Simple API for XML),XSD(Xml Schema Definition),XSLT(Exten ......

xml的分页程序

test.html  
  ———————————————————————————————————————& ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号