tangxu
2024-10-22 6a07c4c846ffbb1e93afdf0260e123e4c145f419
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
 
namespace System.Xml
{
    public class WenXmlDocument : XmlDocument
    {
        public WenXmlDocument() : base()
        {
        }
        public virtual XmlElement CreateXmlElementText(string name, string text)
        {
            XmlElement xmlElement = CreateElement(name);
            xmlElement.InnerText = text;
            return xmlElement;
        }
    }
}