.NET对象的XML序列化和反序列化
http://blog.csdn.net/shizhiyingnj/archive/2007/02/11/1507943.aspx

DataSet 生成 XML的两个方法
http://blog.csdn.net/LX171717/archive/2009/09/15/4553353.aspx

DB Table 到 DataSet 生成 XML
http://blog.sciencenet.cn/home.php?mod=space&uid=427149&do=blog&id=320953

asp.net 页面中生成 RSS 2.0 提要
http://www.newasp.net/tech/net/10512.html

Repeater排序--DataSet(方法一)
http://fhuan123.iteye.com/blog/850148

ASP.NET生成Rss文件
http://hi.baidu.com/chenyuxinran/blog/item/d6ed604e1571370eb3de058e.html

使用ASP.NET(C#)生成RSS文件
http://www.darrenwu.com/article.asp?id=369

Migrate from WordPress to BlogEngine.net
http://www.aghausman.net/blog-engine/Migrate_from_WordPress_to_BlogEnginenet.html

BlogML .NET
http://blogml.codeplex.com/releases/view/171

XML与DataSet的相互转换类
http://blog.csdn.net/CJamie/archive/2009/11/06/4776308.aspx

在 DataSet 中使用 XML
http://msdn.microsoft.com/zh-cn/library/84sxtbxh(v=vs.80).aspx

Visual Studio 2010 天天向上学习资源!
http://msdn.microsoft.com/zh-cn/bb188199.aspx

NET- GUID是什么
http://kb.cnblogs.com/a/1613424/

Modify XML data set
http://www.java2s.com/Code/ASP/XML/ModifyXMLdataset.htm

C# DataTable Foreach Loop
http://www.dotnetperls.com/datatable-foreach

C# DataSet和DataTable详解
http://tech.ddvip.com/2009-04/1240297901116084.html/

C#不使用DataSet操作XML,XmlDocument读写xml所有节点及读取xml节点的数据总结
http://www.xueit.com/html/2009-12-15/21-1376802495906.html

XmlDocument 类
http://msdn.microsoft.com/zh-cn/library/system.xml.xmldocument(v=vs.80).aspx

怎么用XmlDocument读取XML数据?
http://topic.csdn.net/t/20060711/11/4872815.html

XML DOM
http://www.w3schools.com/xml/xml_dom.asp

XML DOM - The Attr Object
http://www.w3schools.com/dom/dom_attribute.asp

Xml中SelectSingleNode方法中的xpath用法
http://blog.csdn.net/wf520pb/archive/2008/07/12/2644549.aspx

[ASP/ASP.net]最简单的XML创建、写入操作
http://www.wangchao.net.cn/bbsdetail_48208.html

document.createAttribute
https://developer.mozilla.org/en/DOM/document.createAttribute

用 XmlDocument 类修改和保存 XML
http://blog.csdn.net/PeterPlus/archive/2004/09/28/119472.aspx

XPath谓词(筛选表达式)及轴的概念 运算符及特殊字符 常用表达式实例
http://hi.baidu.com/yandavid/blog/item/0ccaaade0563f352cdbf1acb.html/cmtid/fabc872f4f73cc361e30892a

Repeater嵌套绑定Repeater
http://www.cnblogs.com/zmxmiss/archive/2009/02/26/1398635.html

 

Repeater嵌套Repeater的结构,cs代码: 


private void RpTypeBind()
        {
//GetQuestionTypeAndCount() 返回一个datatable
            this.rptypelist.DataSource = LiftQuestionCtr.GetQuestionTypeAndCount();                   
            
this.rptypelist.DataBind();
        }
               
protected void rptypelist_ItemDataBound(object sender, RepeaterItemEventArgs e)
        {

//判断里层repeater处于外层repeater的哪个位置( AlternatingItemTemplate,FooterTemplate,

//HeaderTemplate,,ItemTemplate,SeparatorTemplate)
            if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
            {
                Repeater rep 
= e.Item.FindControl("rpquestionlist"as Repeater;//找到里层的repeater对象
                DataRowView rowv = (DataRowView)e.Item.DataItem;//找到分类Repeater关联的数据项 
                int typeid = Convert.ToInt32(rowv["qtid"]); //获取填充子类的id 
                rep.DataSource = LiftQuestionCtr.GetSomeQuestionsByTypeid(typeid, 2);
                rep.DataBind();
            }
        }


xml中改变属性的值
setAttribute() 方法可用于改变已有属性的值,或创建一个新属性。

下面的代码向每个 <book> 元素添加了名为 "edition" 的新属性(值是 "first"):

x=xmlDoc.getElementsByTagName("book");

for(i=0;i<x.length;i++)
  {
  x[i].setAttribute("edition","first");
  }

 

xml中创建元素
createElement() 方法创建新的元素节点。

createTextNode() 方法创建新的文本节点。

appendChild() 方法向节点添加子节点(在最后一个子节点之后)。

如需创建带有文本内容的新元素,需要同时创建元素节点和文本节点。

下面的代码创建了一个元素 (<edition>),然后把它添加到第一个 <book> 元素中:

newel=xmlDoc.createElement("edition");
newtext=xmlDoc.createTextNode("First");
newel.appendChild(newtext);

x=xmlDoc.getElementsByTagName("book");
x[0].appendChild(newel);例子解释:
创建 <edition> 元素
创建值为 "First" 的文本节点
把这个文本节点追加到 <edition> 元素
把 <edition> 元素追加到第一个 <book> 元素
亲自试一试