Blog申请成功,高兴ing
来源:互联网 发布:梦里花落知多少小说网 编辑:程序博客网 时间:2024/06/02 23:30
using System;
using System.IO;
using System.Xml;
public class Sample
{
public static void Main()
{
XmlTextReader reader = null;
try
{
//Load the reader with the XML file.
reader = new XmlTextReader("elems.xml");
//Parse the XML and display the text content of each of the elements.
while (reader.Read()){
if (reader.IsStartElement()){
if (reader.IsEmptyElement)
Console.WriteLine("<{0}/>", reader.Name);
else{
Console.Write("<{0}> ", reader.Name);
reader.Read(); //Read the start tag.
if (reader.IsStartElement()) //Handle nested elements.
Console.Write("/r/n<{0}>", reader.Name);
Console.WriteLine(reader.ReadString()); //Read the text content of the element.
}
}
}
}
finally
{
if (reader != null)
reader.Close();
}
}
} // End class
- Blog申请成功,高兴ing
- 成功申请blog,ye~~~
- 哈哈..BLOG申请成功..
- 申请CSDN Blog成功!
- Blog申请成功
- 申请blog成功
- Blog申请成功!
- blog申请成功!
- 申请Blog成功
- 申请blog成功
- 庆祝blog申请成功!
- blog申请成功
- 终于申请blog成功
- 申请BLOG成功
- 庆祝blog申请成功!
- 成功申请BLOG
- 刚申请了BLOG~很高兴!
- 高兴ing
- test
- hoge66的专栏
- 用预编译好的rpm包来生成一个比较小的linux
- about serial
- My Big Big Blog
- Blog申请成功,高兴ing
- 作为一个程序员,最基本的任务!
- 第一篇BLog文章!经验1
- 新的生活今天开始~
- C#取计算机硬件信息
- JDBC性能技巧
- 游七宝滑雪场
- 第一篇文章,第一个blog,第一.......
- .NET - Diving into System Programming - Part 1[转贴]