#region 將字符串(符合xml格式)轉換為XmlDocument
/// <summary>
/// 將字符串(符合xml格式)轉換為XmlDocument
/// </summary>
/// <param name="xmlString">XML格式字符串</param>
/// <returns></returns>
public XmlDocument ConvertStringToXmlDocument(string xmlString)
{
XmlDocument document = new XmlDocument();
document.LoadXml(xmlString);
return document;
}
#endregion小注: