首页 Soft PlugIn RAN乱 Dev开发 Info资料 English WAP 留言 登陆 注册
-
Posted by Yippee | 评论(0) | 引用(0) | 阅读164次
20080715 c# xml 1

20080715 c# xml 1
http://www.shengfang.org

Writing XML in .NET Using XmlTextWriter
http://www.developer.com/net/net/article.php/1482531
XML is a hot topic. A primary reason for it being of interest is the fact that it is simple to understand and simple to use. Any programmer should be able to easily look at an XML file and understand its contents.

.NET contains a number of classes that support XML. Many of these classes make working with XML as easy as understanding XML. I'm going to show you an example of one such class here. This is the XmlTextWriter class.

http://bytes.com/forum/thread561266.html
How to create this with XmlTextWriter

http://www.chinamacro.com/blog/visit_detail.aspx?blogID=44
如何用ASP.Net从数据库读取数据生成并发送XML数据(不生成XML文件)?

http://hi.baidu.com/irinihp/blog/item/c10752dd21fb6bdc8d102981.html
C#创建XML字符串

http://blog.csdn.net/kybd2006/archive/2007/08/07/1729562.aspx
 使用XmlTextWriter生成XML文件

 XmlTextWriter   xtw=new   XmlTextWriter(filename,System.Text.Encoding.GetEncoding("GB2312"));

 http://tech.ccidnet.com/art/1110/20050209/857855_1.html
 XmlTextWriter创建XML文件

 http://msdn.microsoft.com/zh-cn/library/wkee9k2s.aspx
 使用 XmlTextWriter 创建格式正确的 XML

XmlDocument xmldoc = new XmlDocument();
        XmlNode xRoot = xmldoc.CreateNode(XmlNodeType.Element, "root", "");
        xmldoc.AppendChild(xRoot);

        MemoryStream ms = new MemoryStream();
        XmlTextWriter tw = new XmlTextWriter(ms, Encoding.Unicode);
        tw.Formatting = Formatting.Indented;
        tw.Indentation = 4;
        xmldoc.Save(tw);

        byte[] ary = ms.ToArray();
        string s = Encoding.Unicode.GetString(ary);
//        Response.Write(s);  //输出看是正常的
        xmldoc.LoadXml(s);


http://dev.csdn.net/article/21/21432.shtm
使用XmlTextWriter对象创建XML文件

using   System;  
  using   System.IO;  
  using   System.Xml;  
   
  public   class   Sample  
  {   
      public   static   void   Main()  
      {   
          //   Create   the   XmlDocument.  
          XmlDocument   doc   =   new   XmlDocument();  
          doc.LoadXml("<book   genre='novel'   ISBN='1-861001-57-5'>"   +  
                                  "<title>Pride   And   Prejudice</title>"   +  
                                  "</book>");  
   
          //   Save   the   document   to   a   file.  
          doc.Save("data.xml");  
      }  
  }  

http://dev.rdxx.com/NET/SOAP/2005-7/27/120705632_9.shtml
C#中使用XML——编写XML


http://dev.csdn.net/article/64/64234.shtm
C#中使用XML——编写XML     

http://www.hackhome.com/InfoView/Article_180135.html
在Visual C#中使用XML之编写XML

http://developer.yahoo.com/dotnet/howto-xml_cs.html
Using Returned XML with C# - Yahoo! Developer Network

http://www.enet.com.cn/article/2004/0809/A20040809331749_2.shtml
Visual C#的Web XML编程

http://www.pcvz.com/Program/Programs/CCC/CCCnetprogram/Program_56400_10.html
在Visual C#里面运用XML指南之读取XML

读取节点中的值    
  XmlDocument   doc=new   XmlDocument();    
  doc.Load("config.xml");    
  XmlNode   xnserver   =   doc.SelectSingleNode("userdata/dataconnection/server");    

http://www.cnblogs.com/xiaopeng84/archive/2007/11/30/978271.html
C#利用XmlTextReader读取XML节点数据

http://blog.csdn.net/jackeyabc/archive/2007/11/01/1860702.aspx
 使用 XmlTextReader类

 http://topic.csdn.net/t/20040925/10/3407705.html
 读取XM文件中的信息!

 http://topic.csdn.net/u/20071114/14/ed88c486-3458-4e89-8437-1eaad574b8c3.html?553233395
 C#.net 用XmlTextReader和XmlDocument来读Xml文档

 http://support.microsoft.com/kb/301228/zh-cn
 HOW TO:在 .NET 框架 SDK 中读取数据流的 XML 数据


http://tech.sina.com.cn/s/s/2007-05-09/10471498264.shtml
实例:用Visual C#制作新闻阅读器

http://blog.sina.com.cn/s/blog_4bf6934f010007xy.html
在TreeView上进行Node定位(C#)

http://www.nohack.cn/code/net/2006-10-06/21783.html
C#中使用XML——实现DOM
本篇文章来源于 黑客手册
原文链接:http://www.nohack.cn/code/net/2006-10-06/21783.html

http://hi.baidu.com/jmh_521/blog/item/e3cd5a51cbd22e1d377abecc.html
C#中的XML

http://www.codeproject.com/KB/cpp/XmlHelper.aspx
XML for beginners and experts
By rudy.net

http://www.cnblogs.com/maxun/articles/323105.html
C#中XML的初步使用

http://dev.csdn.net/author/kingjiang/cd9a3c8136214b0a82b078ce16be3b25.html
C#中处理XML文档的方法


http://dev.rdxx.com/NET/CSharp/2002-1/27/005629624.shtml
C#读取XML文档

http://www.yesky.com/155/1915155_1.shtml
在Visual C#中使用XML指南之读取XML

http://www.codeproject.com/KB/XML/csharpcodedocumentation.aspx
C# and XML Source Code Documentation

http://www.codeproject.com/KB/XML/xml_serializationasp.aspx
Load and save objects to XML using serialization

http://hi.baidu.com/mytips/blog/item/2e412a0198b7340a7aec2c51.html

http://www.cnblogs.com/kevinton/archive/2007/06/27/797354.aspx
C#读写XML文件

http://www.codeproject.com/KB/cs/XML.aspx
XML for Beginners


字体:


Permanant URI永久地址 http://www.shengfang.org/blog/p/20080715chsarpxml1.php
Trackback URI引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1235736832

2009年2月27日20:13星期五  [Info资料] 追踪此文的RSS
提示:
此文还没有评论。

称呼:    登陆   注册
   不注册,但记住我的信息
邮件:
(非必须)
评论: [UBB代码帮助]
粗体 斜体 下划线 链接 水平线 引用



验证码: 请输入你看见的数字
关闭UBB      提交时自动将内容复制到剪贴板

公告
Fire and Motion!

统计信息
[Yippee]||[统计]||日志:1887
在线: 21||用户: 2579 [列表]
今日:645||到访:2931363
Rss:||评论:1609

最新日志

最新评论

友情链接

日历
2008 - 08
     12
3456789
10111213141516
17181920212223
24252627282930
31      

最新引用

搜索

归档

杂项
Get RSS Feed (Version 2.0)
Get Atom Feed (Version 0.3)
编码:  UTF-8