Skill 1
The difference between xmlnode.innertext and. InnerXml is that the former converts < and > in content to < and, therefore, a program that wants to merge two-segment XmlDocument can only use
Xmldocumentfragment.innerxml = Xmlnode.outerxml
Skill 2
/xpath:string End-with
<xsl:for-each select= "Root/data[substring-after (@name, '. ') =
' Text ' and string-length (value) >0] ">
Skill 3
If an XML document fails at load, it is simply illegal, and compliance with a schema (XSD) requirement is a validation (valid) check. The method is to use the schemas and ValidationType properties of the XmlValidatingReader object.
Skill 4
The XmlDataDocument class is derived from the XmlDocument, and most importantly, a DataSet attribute is added. However, this class is not provided by System.Xml, but by System.Data. For applications that always have to deal with the database, it is better to quote System.Data than to use XmlDataDocument.
Skill 5
How do I save a dataset update in a XmlDataDocument object to a database? The dataset itself has a AcceptChanges method, so you only need to:
XmlDataDoc.DataSet.AcceptChanges ();